#254485#254485

#254485 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.0% C 0.115 H 263.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#254485
RGBrgb(37, 68, 133)
HSLhsl(221, 56%, 33%)
HSVhsv(221, 72%, 52%)
CMYKcmyk(72.2%, 48.9%, 0%, 47.8%)
CIE-LABlab(29.96, 12.09, -39.89)
CIE-LCHlch(29.96, 41.68, 286.86°)
OKLaboklab(40.03% -0.0139 -0.1143)
OKLCHoklch(40.03% 0.115 263)
XYZxyz(7.0622, 6.2203, 23.0142)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254485 #856625
analogous
#257485 #254485 #362585
triadic
#254485 #852544 #448525
tetradic
#254485 #852574 #856625 #258536
square
#254485 #852574 #856625 #258536
split-complementary
#254485 #853625 #748525
monochromatic
#0A1325 #182C55 #254485 #325CB5 #557CD0

Accessibility & contrast

On white

9.36
#254485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#254485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254485
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254485#FFFFFF#000000##FFFFFF
##2544851.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#0A4284
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254485;
/* rgb */ color: rgb(37, 68, 133);
/* oklch */ color: oklch(40.0% 0.115 263.0);
Tailwind
colors: {
  custom: {
    50: '#6c77a9',
    500: '#254485',
    950: '#000000',
  },
}
SCSS
$custom: #254485;
$custom-light: #6c77a9;
$custom-dark: #000000;
JSON
{
  "hex": "#254485",
  "rgb": {
    "r": 37,
    "g": 68,
    "b": 133
  },
  "hsl": {
    "h": 220.625,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40031,
    "c": 0.1152,
    "h": 263
  },
  "luminance": 0.06221
}

Semantic roles & 50–950 ramp

primary
#254485
secondary
#B49452
accent
#AF48E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254485

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

Preview Lab → · Contrast checker → · Palette generator →

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