#254584#254584

#254584 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.2% C 0.112 H 262.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#254584
RGBrgb(37, 69, 132)
HSLhsl(220, 56%, 33%)
HSVhsv(220, 72%, 52%)
CMYKcmyk(72%, 47.7%, 0%, 48.2%)
CIE-LABlab(30.19, 11.02, -38.90)
CIE-LCHlch(30.19, 40.43, 285.81°)
OKLaboklab(40.19% -0.0151 -0.1114)
OKLCHoklch(40.19% 0.112 262.3)
XYZxyz(7.0544, 6.3148, 22.6724)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254584 #846425
analogous
#257484 #254584 #342584
triadic
#254584 #842545 #458425
tetradic
#254584 #842574 #846425 #258434
square
#254584 #842574 #846425 #258434
split-complementary
#254584 #843425 #748425
monochromatic
#0A1324 #182C54 #254584 #325EB4 #547ECF

Accessibility & contrast

On white

9.28
#254584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#254584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254584
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254584#FFFFFF#000000##FFFFFF
##2545841.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C86
Deuteranopia (green-blind)
#114383
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254584;
/* rgb */ color: rgb(37, 69, 132);
/* oklch */ color: oklch(40.2% 0.112 262.3);
Tailwind
colors: {
  custom: {
    50: '#6c78a8',
    500: '#254584',
    950: '#000000',
  },
}
SCSS
$custom: #254584;
$custom-light: #6c78a8;
$custom-dark: #000000;
JSON
{
  "hex": "#254584",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 132
  },
  "hsl": {
    "h": 219.789,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40187,
    "c": 0.11243,
    "h": 262.3
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#254584
secondary
#B39251
accent
#AD48E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254584

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

Preview Lab → · Contrast checker → · Palette generator →

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