#254388#254388

#254388 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.121 H 264.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#254388
RGBrgb(37, 67, 136)
HSLhsl(222, 57%, 34%)
HSVhsv(222, 73%, 53%)
CMYKcmyk(72.8%, 50.7%, 0%, 46.7%)
CIE-LABlab(29.87, 13.95, -41.89)
CIE-LCHlch(29.87, 44.15, 288.42°)
OKLaboklab(40.03% -0.0125 -0.1202)
OKLCHoklch(40.03% 0.121 264)
XYZxyz(7.2125, 6.1844, 24.1014)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254388 #886A25
analogous
#257588 #254388 #392588
triadic
#254388 #882543 #438825
tetradic
#254388 #882575 #886A25 #258839
square
#254388 #882575 #886A25 #258839
split-complementary
#254388 #883925 #758825
monochromatic
#0B1428 #182B58 #254388 #325BB8 #567CD1

Accessibility & contrast

On white

9.39
#254388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#254388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254388
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254388#FFFFFF#000000##FFFFFF
##2543881.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4B8B
Deuteranopia (green-blind)
#004287
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254388;
/* rgb */ color: rgb(37, 67, 136);
/* oklch */ color: oklch(40.0% 0.121 264.0);
Tailwind
colors: {
  custom: {
    50: '#6d76ab',
    500: '#254388',
    950: '#000000',
  },
}
SCSS
$custom: #254388;
$custom-light: #6d76ab;
$custom-dark: #000000;
JSON
{
  "hex": "#254388",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 221.818,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.1209,
    "h": 264
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#254388
secondary
#B69853
accent
#B247E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #254388

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

Preview Lab → · Contrast checker → · Palette generator →

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