#254884#254884

#254884 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.109 H 260.4°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#254884
RGBrgb(37, 72, 132)
HSLhsl(218, 56%, 33%)
HSVhsv(218, 72%, 52%)
CMYKcmyk(72%, 45.5%, 0%, 48.2%)
CIE-LABlab(31.10, 8.98, -37.45)
CIE-LCHlch(31.10, 38.51, 283.48°)
OKLaboklab(40.88% -0.018 -0.1071)
OKLCHoklch(40.88% 0.109 260.4)
XYZxyz(7.2437, 6.6932, 22.7355)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254884 #846125
analogous
#257784 #254884 #322584
triadic
#254884 #842548 #488425
tetradic
#254884 #842577 #846125 #258432
square
#254884 #842577 #846125 #258432
split-complementary
#254884 #843225 #778425
monochromatic
#0A1424 #182E54 #254884 #3262B4 #5482CF

Accessibility & contrast

On white

8.98
#254884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#254884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254884
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254884#FFFFFF#000000##FFFFFF
##2548841.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E86
Deuteranopia (green-blind)
#194583
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254884;
/* rgb */ color: rgb(37, 72, 132);
/* oklch */ color: oklch(40.9% 0.109 260.4);
Tailwind
colors: {
  custom: {
    50: '#6c7aa8',
    500: '#254884',
    950: '#000000',
  },
}
SCSS
$custom: #254884;
$custom-light: #6c7aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#254884",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 132
  },
  "hsl": {
    "h": 217.895,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.1086,
    "h": 260.4
  },
  "luminance": 0.06694
}

Semantic roles & 50–950 ramp

primary
#254884
secondary
#B38F51
accent
#A848E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254884

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

Preview Lab → · Contrast checker → · Palette generator →

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