#254B79#254B79

#254B79 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.9% C 0.089 H 254.5°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#254B79
RGBrgb(37, 75, 121)
HSLhsl(213, 53%, 31%)
HSVhsv(213, 69%, 47%)
CMYKcmyk(69.4%, 38%, 0%, 52.5%)
CIE-LABlab(31.36, 2.71, -30.19)
CIE-LCHlch(31.36, 30.32, 275.12°)
OKLaboklab(40.87% -0.0238 -0.0858)
OKLCHoklch(40.87% 0.089 254.5)
XYZxyz(6.7290, 6.8053, 19.0444)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B79 #795325
analogous
#257579 #254B79 #292579
triadic
#254B79 #79254B #4B7925
tetradic
#254B79 #792575 #795325 #257929
square
#254B79 #792575 #795325 #257929
split-complementary
#254B79 #792925 #757925
monochromatic
#08111B #172E4A #254B79 #3368A8 #4F86C9

Accessibility & contrast

On white

8.89
#254B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#254B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B79
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B79#FFFFFF#000000##FFFFFF
##254B791.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7B
Deuteranopia (green-blind)
#2B4678
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254b79;
/* rgb */ color: rgb(37, 75, 121);
/* oklch */ color: oklch(40.9% 0.089 254.5);
Tailwind
colors: {
  custom: {
    50: '#6a7ca0',
    500: '#254b79',
    950: '#000000',
  },
}
SCSS
$custom: #254b79;
$custom-light: #6a7ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#254b79",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 212.857,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4087,
    "c": 0.08901,
    "h": 254.5
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#254B79
secondary
#AB814E
accent
#9B4BDD
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254B79

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

Preview Lab → · Contrast checker → · Palette generator →

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