#254E90#254E90

#254E90 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.118 H 259.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#254E90
RGBrgb(37, 78, 144)
HSLhsl(217, 59%, 35%)
HSVhsv(217, 74%, 56%)
CMYKcmyk(74.3%, 45.8%, 0%, 43.5%)
CIE-LABlab(33.68, 9.64, -40.69)
CIE-LCHlch(33.68, 41.81, 283.32°)
OKLaboklab(43.12% -0.0215 -0.1165)
OKLCHoklch(43.12% 0.118 259.5)
XYZxyz(8.5196, 7.8548, 27.4473)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E90 #906725
analogous
#258390 #254E90 #312590
triadic
#254E90 #90254E #4E9025
tetradic
#254E90 #902583 #906725 #259031
square
#254E90 #902583 #906725 #259031
split-complementary
#254E90 #903125 #839025
monochromatic
#0C192F #18345F #254E90 #3268C1 #5B89D5

Accessibility & contrast

On white

8.17
#254E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#254E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E90
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E90#FFFFFF#000000##FFFFFF
##254E901.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5493
Deuteranopia (green-blind)
#174B8F
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #254e90;
/* rgb */ color: rgb(37, 78, 144);
/* oklch */ color: oklch(43.1% 0.118 259.5);
Tailwind
colors: {
  custom: {
    50: '#6e7fb1',
    500: '#254e90',
    950: '#000000',
  },
}
SCSS
$custom: #254e90;
$custom-light: #6e7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#254e90",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 144
  },
  "hsl": {
    "h": 217.009,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43123,
    "c": 0.11848,
    "h": 259.5
  },
  "luminance": 0.07856
}

Semantic roles & 50–950 ramp

primary
#254E90
secondary
#B99457
accent
#A645E2
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #254E90

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

Preview Lab → · Contrast checker → · Palette generator →

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