#254B71#254B71

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

Color values

HEX#254B71
RGBrgb(37, 75, 113)
HSLhsl(210, 51%, 29%)
HSVhsv(210, 67%, 44%)
CMYKcmyk(67.3%, 33.6%, 0%, 55.7%)
CIE-LABlab(30.92, -0.33, -25.88)
CIE-LCHlch(30.92, 25.88, 269.27°)
OKLaboklab(40.38% -0.0262 -0.0732)
OKLCHoklch(40.38% 0.078 250.3)
XYZxyz(6.2586, 6.6171, 16.5670)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B71 #714B25
analogous
#257171 #254B71 #252571
triadic
#254B71 #71254B #4B7125
tetradic
#254B71 #712571 #714B25 #257125
square
#254B71 #712571 #714B25 #257125
split-complementary
#254B71 #712525 #717125
monochromatic
#080F17 #162C43 #254B71 #346A9F #4C88C4

Accessibility & contrast

On white

9.04
#254B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254B71
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B71#FFFFFF#000000##FFFFFF
##254B711.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#304570
Tritanopia (blue-blind)
#005459
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254b71;
/* rgb */ color: rgb(37, 75, 113);
/* oklch */ color: oklch(40.4% 0.078 250.3);
Tailwind
colors: {
  custom: {
    50: '#687d9a',
    500: '#254b71',
    950: '#000000',
  },
}
SCSS
$custom: #254b71;
$custom-light: #687d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#254b71",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 113
  },
  "hsl": {
    "h": 210,
    "s": 50.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40381,
    "c": 0.07771,
    "h": 250.3
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#254B71
secondary
#A4794E
accent
#944EDA
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254B71

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

Preview Lab → · Contrast checker → · Palette generator →

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