#254B7D#254B7D

#254B7D is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.1% C 0.095 H 256.1°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#254B7D
RGBrgb(37, 75, 125)
HSLhsl(214, 54%, 32%)
HSVhsv(214, 70%, 49%)
CMYKcmyk(70.4%, 40%, 0%, 51%)
CIE-LABlab(31.59, 4.25, -32.32)
CIE-LCHlch(31.59, 32.60, 277.48°)
OKLaboklab(41.13% -0.0227 -0.092)
OKLCHoklch(41.13% 0.095 256.1)
XYZxyz(6.9794, 6.9054, 20.3631)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B7D #7D5725
analogous
#25777D #254B7D #2B257D
triadic
#254B7D #7D254B #4B7D25
tetradic
#254B7D #7D2577 #7D5725 #257D2B
square
#254B7D #7D2577 #7D5725 #257D2B
split-complementary
#254B7D #7D2B25 #777D25
monochromatic
#09121F #172F4E #254B7D #3367AC #5186CB

Accessibility & contrast

On white

8.82
#254B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#254B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B7D
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B7D#FFFFFF#000000##FFFFFF
##254B7D1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#27477C
Tritanopia (blue-blind)
#00575E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254b7d;
/* rgb */ color: rgb(37, 75, 125);
/* oklch */ color: oklch(41.1% 0.095 256.1);
Tailwind
colors: {
  custom: {
    50: '#6a7ca3',
    500: '#254b7d',
    950: '#000000',
  },
}
SCSS
$custom: #254b7d;
$custom-light: #6a7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#254b7d",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 125
  },
  "hsl": {
    "h": 214.091,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41125,
    "c": 0.09476,
    "h": 256.1
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#254B7D
secondary
#AF854F
accent
#9E4ADE
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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