#254B7B#254B7B

#254B7B is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.0% C 0.092 H 255.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#254B7B
RGBrgb(37, 75, 123)
HSLhsl(213, 54%, 31%)
HSVhsv(213, 70%, 48%)
CMYKcmyk(69.9%, 39%, 0%, 51.8%)
CIE-LABlab(31.47, 3.48, -31.26)
CIE-LCHlch(31.47, 31.45, 276.34°)
OKLaboklab(41% -0.0233 -0.0889)
OKLCHoklch(41% 0.092 255.3)
XYZxyz(6.8529, 6.8548, 19.6970)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B7B #7B5525
analogous
#25767B #254B7B #2A257B
triadic
#254B7B #7B254B #4B7B25
tetradic
#254B7B #7B2576 #7B5525 #257B2A
square
#254B7B #7B2576 #7B5525 #257B2A
split-complementary
#254B7B #7B2A25 #767B25
monochromatic
#09121D #172E4C #254B7B #3368AA #5086CA

Accessibility & contrast

On white

8.86
#254B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#254B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B7B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B7B#FFFFFF#000000##FFFFFF
##254B7B1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7D
Deuteranopia (green-blind)
#29467A
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254b7b;
/* rgb */ color: rgb(37, 75, 123);
/* oklch */ color: oklch(41.0% 0.092 255.3);
Tailwind
colors: {
  custom: {
    50: '#6a7ca1',
    500: '#254b7b',
    950: '#000000',
  },
}
SCSS
$custom: #254b7b;
$custom-light: #6a7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#254b7b",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 123
  },
  "hsl": {
    "h": 213.488,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40997,
    "c": 0.09188,
    "h": 255.3
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#254B7B
secondary
#AD834F
accent
#9C4BDD
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #254B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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