#254585#254585

#254585 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.114 H 262.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#254585
RGBrgb(37, 69, 133)
HSLhsl(220, 56%, 33%)
HSVhsv(220, 72%, 52%)
CMYKcmyk(72.2%, 48.1%, 0%, 47.8%)
CIE-LABlab(30.26, 11.41, -39.41)
CIE-LCHlch(30.26, 41.03, 286.14°)
OKLaboklab(40.26% -0.0149 -0.1129)
OKLCHoklch(40.26% 0.114 262.5)
XYZxyz(7.1232, 6.3423, 23.0345)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254585 #856525
analogous
#257585 #254585 #352585
triadic
#254585 #852545 #458525
tetradic
#254585 #852575 #856525 #258535
square
#254585 #852575 #856525 #258535
split-complementary
#254585 #853525 #758525
monochromatic
#0A1325 #182C55 #254585 #325EB5 #557ED0

Accessibility & contrast

On white

9.26
#254585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#254585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254585
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254585#FFFFFF#000000##FFFFFF
##2545851.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244C87
Deuteranopia (green-blind)
#0E4384
Tritanopia (blue-blind)
#00545E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254585;
/* rgb */ color: rgb(37, 69, 133);
/* oklch */ color: oklch(40.3% 0.114 262.5);
Tailwind
colors: {
  custom: {
    50: '#6c78a9',
    500: '#254585',
    950: '#000000',
  },
}
SCSS
$custom: #254585;
$custom-light: #6c78a9;
$custom-dark: #000000;
JSON
{
  "hex": "#254585",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 133
  },
  "hsl": {
    "h": 220,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4026,
    "c": 0.1139,
    "h": 262.5
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#254585
secondary
#B49352
accent
#AD48E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254585

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

Preview Lab → · Contrast checker → · Palette generator →

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