#254F7E#254F7E

#254F7E is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.092 H 253.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#254F7E
RGBrgb(37, 79, 126)
HSLhsl(212, 55%, 32%)
HSVhsv(212, 71%, 49%)
CMYKcmyk(70.6%, 37.3%, 0%, 50.6%)
CIE-LABlab(32.90, 1.99, -30.87)
CIE-LCHlch(32.90, 30.93, 273.69°)
OKLaboklab(42.17% -0.0268 -0.0877)
OKLCHoklch(42.17% 0.092 253)
XYZxyz(7.3234, 7.4909, 20.7945)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F7E #7E5425
analogous
#257C7E #254F7E #27257E
triadic
#254F7E #7E254F #4F7E25
tetradic
#254F7E #7E257C #7E5425 #257E27
square
#254F7E #7E257C #7E5425 #257E27
split-complementary
#254F7E #7E2725 #7C7E25
monochromatic
#09141F #17314F #254F7E #336DAD #518BCC

Accessibility & contrast

On white

8.41
#254F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#254F7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F7E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F7E#FFFFFF#000000##FFFFFF
##254F7E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5280
Deuteranopia (green-blind)
#2D4A7D
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254f7e;
/* rgb */ color: rgb(37, 79, 126);
/* oklch */ color: oklch(42.2% 0.092 253.0);
Tailwind
colors: {
  custom: {
    50: '#6b80a3',
    500: '#254f7e',
    950: '#000000',
  },
}
SCSS
$custom: #254f7e;
$custom-light: #6b80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#254f7e",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 211.685,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42165,
    "c": 0.09167,
    "h": 253
  },
  "luminance": 0.07492
}

Semantic roles & 50–950 ramp

primary
#254F7E
secondary
#B0824F
accent
#984ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254F7E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#254F7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva