#254285#254285

#254285 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.118 H 264.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#254285
RGBrgb(37, 66, 133)
HSLhsl(222, 56%, 33%)
HSVhsv(222, 72%, 52%)
CMYKcmyk(72.2%, 50.4%, 0%, 47.8%)
CIE-LABlab(29.37, 13.46, -40.85)
CIE-LCHlch(29.37, 43.01, 288.24°)
OKLaboklab(39.58% -0.012 -0.1172)
OKLCHoklch(39.58% 0.118 264.1)
XYZxyz(6.9433, 5.9825, 22.9746)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254285 #856825
analogous
#257285 #254285 #382585
triadic
#254285 #852542 #428525
tetradic
#254285 #852572 #856825 #258538
square
#254285 #852572 #856825 #258538
split-complementary
#254285 #853825 #728525
monochromatic
#0A1225 #182A55 #254285 #325AB5 #557AD0

Accessibility & contrast

On white

9.56
#254285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254285
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254285#FFFFFF#000000##FFFFFF
##2542851.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A87
Deuteranopia (green-blind)
#014184
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #254285;
/* rgb */ color: rgb(37, 66, 133);
/* oklch */ color: oklch(39.6% 0.118 264.1);
Tailwind
colors: {
  custom: {
    50: '#6c75a9',
    500: '#254285',
    950: '#000000',
  },
}
SCSS
$custom: #254285;
$custom-light: #6c75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#254285",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 133
  },
  "hsl": {
    "h": 221.875,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39577,
    "c": 0.11781,
    "h": 264.1
  },
  "luminance": 0.05983
}

Semantic roles & 50–950 ramp

primary
#254285
secondary
#B49652
accent
#B248E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254285

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

Preview Lab → · Contrast checker → · Palette generator →

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