#254372#254372

#254372 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.088 H 259.1°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#254372
RGBrgb(37, 67, 114)
HSLhsl(217, 51%, 30%)
HSVhsv(217, 68%, 45%)
CMYKcmyk(67.5%, 41.2%, 0%, 55.3%)
CIE-LABlab(28.44, 5.38, -30.43)
CIE-LCHlch(28.44, 30.90, 280.02°)
OKLaboklab(38.46% -0.0167 -0.0866)
OKLCHoklch(38.46% 0.088 259.1)
XYZxyz(5.8063, 5.6220, 16.6955)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254372 #725425
analogous
#256A72 #254372 #2D2572
triadic
#254372 #722543 #437225
tetradic
#254372 #72256A #725425 #25722D
square
#254372 #72256A #725425 #25722D
split-complementary
#254372 #722D25 #6A7225
monochromatic
#070E17 #162844 #254372 #345EA0 #4C7BC5

Accessibility & contrast

On white

9.88
#254372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#254372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254372
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254372#FFFFFF#000000##FFFFFF
##2543721.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#234071
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #254372;
/* rgb */ color: rgb(37, 67, 114);
/* oklch */ color: oklch(38.5% 0.088 259.1);
Tailwind
colors: {
  custom: {
    50: '#68769b',
    500: '#254372',
    950: '#000000',
  },
}
SCSS
$custom: #254372;
$custom-light: #68769b;
$custom-dark: #000000;
JSON
{
  "hex": "#254372",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 216.623,
    "s": 50.993,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38462,
    "c": 0.08817,
    "h": 259.1
  },
  "luminance": 0.05623
}

Semantic roles & 50–950 ramp

primary
#254372
secondary
#A5834E
accent
#A34DDA
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #254372

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

Preview Lab → · Contrast checker → · Palette generator →

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