#254F7D#254F7D

#254F7D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.090 H 252.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#254F7D
RGBrgb(37, 79, 125)
HSLhsl(211, 54%, 32%)
HSVhsv(211, 70%, 49%)
CMYKcmyk(70.4%, 36.8%, 0%, 51%)
CIE-LABlab(32.84, 1.61, -30.34)
CIE-LCHlch(32.84, 30.38, 273.03°)
OKLaboklab(42.1% -0.027 -0.0861)
OKLCHoklch(42.1% 0.09 252.6)
XYZxyz(7.2592, 7.4652, 20.4564)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254F7D #7D5325
analogous
#257B7D #254F7D #27257D
triadic
#254F7D #7D254F #4F7D25
tetradic
#254F7D #7D257B #7D5325 #257D27
square
#254F7D #7D257B #7D5325 #257D27
split-complementary
#254F7D #7D2725 #7B7D25
monochromatic
#09131F #17314E #254F7D #336DAC #518BCB

Accessibility & contrast

On white

8.42
#254F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#254F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254F7D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254F7D#FFFFFF#000000##FFFFFF
##254F7D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #254f7d;
/* rgb */ color: rgb(37, 79, 125);
/* oklch */ color: oklch(42.1% 0.090 252.6);
Tailwind
colors: {
  custom: {
    50: '#6a80a3',
    500: '#254f7d',
    950: '#000000',
  },
}
SCSS
$custom: #254f7d;
$custom-light: #6a80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#254f7d",
  "rgb": {
    "r": 37,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 211.364,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42103,
    "c": 0.09027,
    "h": 252.6
  },
  "luminance": 0.07466
}

Semantic roles & 50–950 ramp

primary
#254F7D
secondary
#AF814F
accent
#974ADE
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #254F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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