#254B76#254B76

#254B76 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.7% C 0.085 H 253.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#254B76
RGBrgb(37, 75, 118)
HSLhsl(212, 52%, 30%)
HSVhsv(212, 69%, 46%)
CMYKcmyk(68.6%, 36.4%, 0%, 53.7%)
CIE-LABlab(31.19, 1.56, -28.59)
CIE-LCHlch(31.19, 28.63, 273.13°)
OKLaboklab(40.68% -0.0246 -0.0811)
OKLCHoklch(40.68% 0.085 253.1)
XYZxyz(6.5478, 6.7328, 18.0905)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B76 #765025
analogous
#257376 #254B76 #282576
triadic
#254B76 #76254B #4B7625
tetradic
#254B76 #762573 #765025 #257628
square
#254B76 #762573 #765025 #257628
split-complementary
#254B76 #762825 #737625
monochromatic
#081019 #162D47 #254B76 #3469A5 #4E87C7

Accessibility & contrast

On white

8.95
#254B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#254B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B76
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B76#FFFFFF#000000##FFFFFF
##254B761.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E78
Deuteranopia (green-blind)
#2D4675
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254b76;
/* rgb */ color: rgb(37, 75, 118);
/* oklch */ color: oklch(40.7% 0.085 253.1);
Tailwind
colors: {
  custom: {
    50: '#697d9e',
    500: '#254b76',
    950: '#000000',
  },
}
SCSS
$custom: #254b76;
$custom-light: #697d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#254b76",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 118
  },
  "hsl": {
    "h": 211.852,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40683,
    "c": 0.08473,
    "h": 253.1
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#254B76
secondary
#A97E4E
accent
#984CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254B76

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

Preview Lab → · Contrast checker → · Palette generator →

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