#254185#254185

#254185 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.119 H 264.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#254185
RGBrgb(37, 65, 133)
HSLhsl(223, 56%, 33%)
HSVhsv(223, 72%, 52%)
CMYKcmyk(72.2%, 51.1%, 0%, 47.8%)
CIE-LABlab(29.07, 14.15, -41.32)
CIE-LCHlch(29.07, 43.68, 288.90°)
OKLaboklab(39.35% -0.0111 -0.1186)
OKLCHoklch(39.35% 0.119 264.7)
XYZxyz(6.8854, 5.8667, 22.9553)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254185 #856925
analogous
#257185 #254185 #392585
triadic
#254185 #852541 #418525
tetradic
#254185 #852571 #856925 #258539
square
#254185 #852571 #856925 #258539
split-complementary
#254185 #853925 #718525
monochromatic
#0A1225 #182A55 #254185 #3258B5 #5579D0

Accessibility & contrast

On white

9.66
#254185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254185
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254185#FFFFFF#000000##FFFFFF
##2541851.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#004084
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254185;
/* rgb */ color: rgb(37, 65, 133);
/* oklch */ color: oklch(39.4% 0.119 264.7);
Tailwind
colors: {
  custom: {
    50: '#6c75a9',
    500: '#254185',
    950: '#000000',
  },
}
SCSS
$custom: #254185;
$custom-light: #6c75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#254185",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 222.5,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39352,
    "c": 0.11913,
    "h": 264.7
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#254185
secondary
#B49752
accent
#B448E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254185

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

Preview Lab → · Contrast checker → · Palette generator →

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