#254288#254288

#254288 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.122 H 264.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#254288
RGBrgb(37, 66, 136)
HSLhsl(222, 57%, 34%)
HSVhsv(222, 73%, 53%)
CMYKcmyk(72.8%, 51.5%, 0%, 46.7%)
CIE-LABlab(29.58, 14.64, -42.36)
CIE-LCHlch(29.58, 44.82, 289.06°)
OKLaboklab(39.81% -0.0116 -0.1217)
OKLCHoklch(39.81% 0.122 264.5)
XYZxyz(7.1535, 6.0666, 24.0817)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254288 #886B25
analogous
#257488 #254288 #3A2588
triadic
#254288 #882542 #428825
tetradic
#254288 #882574 #886B25 #25883A
square
#254288 #882574 #886B25 #25883A
split-complementary
#254288 #883A25 #748825
monochromatic
#0B1328 #182B58 #254288 #3259B8 #567AD1

Accessibility & contrast

On white

9.49
#254288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#254288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254288
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254288#FFFFFF#000000##FFFFFF
##2542881.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8B
Deuteranopia (green-blind)
#004187
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254288;
/* rgb */ color: rgb(37, 66, 136);
/* oklch */ color: oklch(39.8% 0.122 264.5);
Tailwind
colors: {
  custom: {
    50: '#6d75ab',
    500: '#254288',
    950: '#000000',
  },
}
SCSS
$custom: #254288;
$custom-light: #6d75ab;
$custom-dark: #000000;
JSON
{
  "hex": "#254288",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 136
  },
  "hsl": {
    "h": 222.424,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39806,
    "c": 0.12221,
    "h": 264.5
  },
  "luminance": 0.06067
}

Semantic roles & 50–950 ramp

primary
#254288
secondary
#B69953
accent
#B447E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #254288

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

Preview Lab → · Contrast checker → · Palette generator →

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