#254A76#254A76

#254A76 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.086 H 254.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#254A76
RGBrgb(37, 74, 118)
HSLhsl(213, 52%, 30%)
HSVhsv(213, 69%, 46%)
CMYKcmyk(68.6%, 37.3%, 0%, 53.7%)
CIE-LABlab(30.87, 2.22, -29.09)
CIE-LCHlch(30.87, 29.17, 274.37°)
OKLaboklab(40.44% -0.0235 -0.0825)
OKLCHoklch(40.44% 0.086 254.1)
XYZxyz(6.4806, 6.5982, 18.0681)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A76 #765125
analogous
#257276 #254A76 #292576
triadic
#254A76 #76254A #4A7625
tetradic
#254A76 #762572 #765125 #257629
square
#254A76 #762572 #765125 #257629
split-complementary
#254A76 #762925 #727625
monochromatic
#081019 #162D47 #254A76 #3467A5 #4E85C7

Accessibility & contrast

On white

9.05
#254A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#254A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A76
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A76#FFFFFF#000000##FFFFFF
##254A761.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D78
Deuteranopia (green-blind)
#2B4575
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254a76;
/* rgb */ color: rgb(37, 74, 118);
/* oklch */ color: oklch(40.4% 0.086 254.1);
Tailwind
colors: {
  custom: {
    50: '#697c9e',
    500: '#254a76',
    950: '#000000',
  },
}
SCSS
$custom: #254a76;
$custom-light: #697c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#254a76",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 118
  },
  "hsl": {
    "h": 212.593,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.08583,
    "h": 254.1
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#254A76
secondary
#A97F4E
accent
#9A4CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254A76

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

Preview Lab → · Contrast checker → · Palette generator →

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