#254088#254088

#254088 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.125 H 265.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#254088
RGBrgb(37, 64, 136)
HSLhsl(224, 57%, 34%)
HSVhsv(224, 73%, 53%)
CMYKcmyk(72.8%, 52.9%, 0%, 46.7%)
CIE-LABlab(29.00, 16.01, -43.30)
CIE-LCHlch(29.00, 46.17, 290.29°)
OKLaboklab(39.36% -0.0098 -0.1245)
OKLCHoklch(39.36% 0.125 265.5)
XYZxyz(7.0387, 5.8370, 24.0435)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254088 #886D25
analogous
#257288 #254088 #3C2588
triadic
#254088 #882540 #408825
tetradic
#254088 #882572 #886D25 #25883C
square
#254088 #882572 #886D25 #25883C
split-complementary
#254088 #883C25 #728825
monochromatic
#0B1328 #182958 #254088 #3257B8 #5678D1

Accessibility & contrast

On white

9.69
#254088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#254088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254088
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254088#FFFFFF#000000##FFFFFF
##2540881.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254088;
/* rgb */ color: rgb(37, 64, 136);
/* oklch */ color: oklch(39.4% 0.125 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d74ab',
    500: '#254088',
    950: '#000000',
  },
}
SCSS
$custom: #254088;
$custom-light: #6d74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#254088",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 223.636,
    "s": 57.225,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39363,
    "c": 0.12484,
    "h": 265.5
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#254088
secondary
#B69B53
accent
#B747E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #254088

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

Preview Lab → · Contrast checker → · Palette generator →

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