#254184#254184

#254184 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.3% C 0.118 H 264.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#254184
RGBrgb(37, 65, 132)
HSLhsl(222, 56%, 33%)
HSVhsv(222, 72%, 52%)
CMYKcmyk(72%, 50.8%, 0%, 48.2%)
CIE-LABlab(29.00, 13.76, -40.81)
CIE-LCHlch(29.00, 43.07, 288.63°)
OKLaboklab(39.28% -0.0112 -0.1171)
OKLCHoklch(39.28% 0.118 264.5)
XYZxyz(6.8166, 5.8392, 22.5931)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254184 #846825
analogous
#257084 #254184 #382584
triadic
#254184 #842541 #418425
tetradic
#254184 #842570 #846825 #258438
square
#254184 #842570 #846825 #258438
split-complementary
#254184 #843825 #708425
monochromatic
#0A1224 #182954 #254184 #3259B4 #5478CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##254184#FFFFFF#000000##FFFFFF
##2541841.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)
#1B4986
Deuteranopia (green-blind)
#004083
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254184;
/* rgb */ color: rgb(37, 65, 132);
/* oklch */ color: oklch(39.3% 0.118 264.5);
Tailwind
colors: {
  custom: {
    50: '#6c75a8',
    500: '#254184',
    950: '#000000',
  },
}
SCSS
$custom: #254184;
$custom-light: #6c75a8;
$custom-dark: #000000;
JSON
{
  "hex": "#254184",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 132
  },
  "hsl": {
    "h": 222.316,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39276,
    "c": 0.11765,
    "h": 264.5
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#254184
secondary
#B39751
accent
#B348E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254184

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

Preview Lab → · Contrast checker → · Palette generator →

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