#254589#254589

#254589 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.120 H 263.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#254589
RGBrgb(37, 69, 137)
HSLhsl(221, 57%, 34%)
HSVhsv(221, 73%, 54%)
CMYKcmyk(73%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.53, 12.98, -41.45)
CIE-LCHlch(30.53, 43.43, 287.39°)
OKLaboklab(40.56% -0.0143 -0.1189)
OKLCHoklch(40.56% 0.12 263.2)
XYZxyz(7.4048, 6.4549, 24.5177)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254589 #896925
analogous
#257789 #254589 #372589
triadic
#254589 #892545 #458925
tetradic
#254589 #892577 #896925 #258937
square
#254589 #892577 #896925 #258937
split-complementary
#254589 #893725 #778925
monochromatic
#0B1429 #182D59 #254589 #325DB9 #577ED2

Accessibility & contrast

On white

9.17
#254589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#254589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254589
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254589#FFFFFF#000000##FFFFFF
##2545891.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204D8C
Deuteranopia (green-blind)
#034488
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254589;
/* rgb */ color: rgb(37, 69, 137);
/* oklch */ color: oklch(40.6% 0.120 263.2);
Tailwind
colors: {
  custom: {
    50: '#6d78ac',
    500: '#254589',
    950: '#000000',
  },
}
SCSS
$custom: #254589;
$custom-light: #6d78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#254589",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 220.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.40556,
    "c": 0.11976,
    "h": 263.2
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#254589
secondary
#B69754
accent
#B047E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #254589

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

Preview Lab → · Contrast checker → · Palette generator →

#254589 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva