Skip to content

#265f4d

a dark, soft cyan · cool · closest name: darkslategray

RGB
38, 95, 77
HSL
161°, 43%, 26%
CMYK
60, 0, 19, 63
Luminance
0.0913

Every format

HEX#265f4d
RGBrgb(38, 95, 77)
HSLhsl(161, 43%, 26%)
CMYKcmyk(60%, 0%, 19%, 63%)
LABlab(36.2 -23.6 4.7)
LCHlch(36.2 24.0 168.6)
OKLCHoklch(0.442 0.067 169.6)

Copy-ready code

/* CSS */
color: #265f4d;
background-color: #265f4d;
/* Tailwind (arbitrary) */
class="text-[#265f4d] bg-[#265f4d]"
/* SCSS */
$brand: #265f4d;
/* SwiftUI */
Color(red: 0.149, green: 0.373, blue: 0.302)
/* Android */
Color.parseColor("#265f4d")

Accessibility — WCAG contrast

Aa
#265f4d on white: 7.43:1
AA ✓ pass · AA-large · AAA
Aa
#265f4d on black: 2.83:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red14.9%
Green37.3%
Blue30.2%

CMYK percentages

Cyan60.0%
Magenta0.0%
Yellow18.9%
Key (black)62.7%

Color previews

#265f4d text on a black background

contrast 2.83:1

Card sample

#265f4d text on a white background

contrast 7.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #265f4d;
Background color
Panel with #265f4d background
background-color: #265f4d;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #265f4d;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(38, 95, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 95, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #265f4d;
background: linear-gradient(135deg, #265f4d, #264B5F);

Monochromatic scale

Palettes built from #265f4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #265f4d in the Color Lab