#254381#254381

#254381 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.111 H 262.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#254381
RGBrgb(37, 67, 129)
HSLhsl(220, 55%, 33%)
HSVhsv(220, 71%, 51%)
CMYKcmyk(71.3%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.39, 11.21, -38.32)
CIE-LCHlch(29.39, 39.93, 286.30°)
OKLaboklab(39.51% -0.0136 -0.1097)
OKLCHoklch(39.51% 0.111 262.9)
XYZxyz(6.7311, 5.9919, 21.5664)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254381 #816325
analogous
#257181 #254381 #352581
triadic
#254381 #812543 #438125
tetradic
#254381 #812571 #816325 #258135
square
#254381 #812571 #816325 #258135
split-complementary
#254381 #813525 #718125
monochromatic
#0A1222 #172A51 #254381 #335CB1 #537BCE

Accessibility & contrast

On white

9.55
#254381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#254381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254381
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254381#FFFFFF#000000##FFFFFF
##2543811.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#104180
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254381;
/* rgb */ color: rgb(37, 67, 129);
/* oklch */ color: oklch(39.5% 0.111 262.9);
Tailwind
colors: {
  custom: {
    50: '#6b76a6',
    500: '#254381',
    950: '#000000',
  },
}
SCSS
$custom: #254381;
$custom-light: #6b76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#254381",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 220.435,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.39507,
    "c": 0.11059,
    "h": 262.9
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#254381
secondary
#B29250
accent
#AE49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254381

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

Preview Lab → · Contrast checker → · Palette generator →

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