#254385#254385

#254385 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.117 H 263.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#254385
RGBrgb(37, 67, 133)
HSLhsl(221, 56%, 33%)
HSVhsv(221, 72%, 52%)
CMYKcmyk(72.2%, 49.6%, 0%, 47.8%)
CIE-LABlab(29.66, 12.78, -40.37)
CIE-LCHlch(29.66, 42.34, 287.56°)
OKLaboklab(39.8% -0.013 -0.1158)
OKLCHoklch(39.8% 0.117 263.6)
XYZxyz(7.0022, 6.1004, 22.9942)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254385 #856725
analogous
#257385 #254385 #372585
triadic
#254385 #852543 #438525
tetradic
#254385 #852573 #856725 #258537
square
#254385 #852573 #856725 #258537
split-complementary
#254385 #853725 #738525
monochromatic
#0A1325 #182B55 #254385 #325BB5 #557BD0

Accessibility & contrast

On white

9.46
#254385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#254385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254385
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254385#FFFFFF#000000##FFFFFF
##2543851.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B87
Deuteranopia (green-blind)
#054284
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254385;
/* rgb */ color: rgb(37, 67, 133);
/* oklch */ color: oklch(39.8% 0.117 263.6);
Tailwind
colors: {
  custom: {
    50: '#6c76a9',
    500: '#254385',
    950: '#000000',
  },
}
SCSS
$custom: #254385;
$custom-light: #6c76a9;
$custom-dark: #000000;
JSON
{
  "hex": "#254385",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 133
  },
  "hsl": {
    "h": 221.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39803,
    "c": 0.1165,
    "h": 263.6
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254385

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

Preview Lab → · Contrast checker → · Palette generator →

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