#254A78#254A78

#254A78 is a dark, moderate cyan. Relative luminance 0.066; OKLCH L 40.6% C 0.089 H 255.0°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#254A78
RGBrgb(37, 74, 120)
HSLhsl(213, 53%, 31%)
HSVhsv(213, 69%, 47%)
CMYKcmyk(69.2%, 38.3%, 0%, 52.9%)
CIE-LABlab(30.99, 2.99, -30.16)
CIE-LCHlch(30.99, 30.31, 275.66°)
OKLaboklab(40.56% -0.023 -0.0857)
OKLCHoklch(40.56% 0.089 255)
XYZxyz(6.6007, 6.6463, 18.7007)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A78 #785325
analogous
#257378 #254A78 #292578
triadic
#254A78 #78254A #4A7825
tetradic
#254A78 #782573 #785325 #257829
square
#254A78 #782573 #785325 #257829
split-complementary
#254A78 #782925 #737825
monochromatic
#08101A #172D49 #254A78 #3367A7 #4F85C9

Accessibility & contrast

On white

9.02
#254A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#254A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A78
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A78#FFFFFF#000000##FFFFFF
##254A781.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D7A
Deuteranopia (green-blind)
#2A4577
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254a78;
/* rgb */ color: rgb(37, 74, 120);
/* oklch */ color: oklch(40.6% 0.089 255.0);
Tailwind
colors: {
  custom: {
    50: '#697c9f',
    500: '#254a78',
    950: '#000000',
  },
}
SCSS
$custom: #254a78;
$custom-light: #697c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#254a78",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 120
  },
  "hsl": {
    "h": 213.253,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40561,
    "c": 0.08871,
    "h": 255
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#254A78
secondary
#AA814E
accent
#9C4CDC
background
#F6F7F9
surface
#EBEEF2
border
#C6C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #254A78

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

Preview Lab → · Contrast checker → · Palette generator →

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