#254384#254384

#254384 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.7% C 0.115 H 263.4°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#254384
RGBrgb(37, 67, 132)
HSLhsl(221, 56%, 33%)
HSVhsv(221, 72%, 52%)
CMYKcmyk(72%, 49.2%, 0%, 48.2%)
CIE-LABlab(29.60, 12.38, -39.86)
CIE-LCHlch(29.60, 41.74, 287.26°)
OKLaboklab(39.73% -0.0131 -0.1143)
OKLCHoklch(39.73% 0.115 263.4)
XYZxyz(6.9335, 6.0729, 22.6321)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254384 #846625
analogous
#257284 #254384 #372584
triadic
#254384 #842543 #438425
tetradic
#254384 #842572 #846625 #258437
square
#254384 #842572 #846625 #258437
split-complementary
#254384 #843725 #728425
monochromatic
#0A1224 #182B54 #254384 #325BB4 #547BCF

Accessibility & contrast

On white

9.48
#254384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254384
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254384#FFFFFF#000000##FFFFFF
##2543841.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#084283
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254384;
/* rgb */ color: rgb(37, 67, 132);
/* oklch */ color: oklch(39.7% 0.115 263.4);
Tailwind
colors: {
  custom: {
    50: '#6c76a8',
    500: '#254384',
    950: '#000000',
  },
}
SCSS
$custom: #254384;
$custom-light: #6c76a8;
$custom-dark: #000000;
JSON
{
  "hex": "#254384",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 132
  },
  "hsl": {
    "h": 221.053,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.11502,
    "h": 263.4
  },
  "luminance": 0.06074
}

Semantic roles & 50–950 ramp

primary
#254384
secondary
#B39451
accent
#B048E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254384

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

Preview Lab → · Contrast checker → · Palette generator →

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