#254586#254586

#254586 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.115 H 262.7°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#254586
RGBrgb(37, 69, 134)
HSLhsl(220, 57%, 34%)
HSVhsv(220, 72%, 53%)
CMYKcmyk(72.4%, 48.5%, 0%, 47.5%)
CIE-LABlab(30.33, 11.80, -39.92)
CIE-LCHlch(30.33, 41.63, 286.47°)
OKLaboklab(40.33% -0.0147 -0.1144)
OKLCHoklch(40.33% 0.115 262.7)
XYZxyz(7.1926, 6.3700, 23.4001)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254586 #866625
analogous
#257586 #254586 #352586
triadic
#254586 #862545 #458625
tetradic
#254586 #862575 #866625 #258635
square
#254586 #862575 #866625 #258635
split-complementary
#254586 #863525 #758625
monochromatic
#0B1426 #182C56 #254586 #325EB6 #557ED0

Accessibility & contrast

On white

9.23
#254586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254586
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254586#FFFFFF#000000##FFFFFF
##2545861.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C88
Deuteranopia (green-blind)
#0C4385
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254586;
/* rgb */ color: rgb(37, 69, 134);
/* oklch */ color: oklch(40.3% 0.115 262.7);
Tailwind
colors: {
  custom: {
    50: '#6c78aa',
    500: '#254586',
    950: '#000000',
  },
}
SCSS
$custom: #254586;
$custom-light: #6c78aa;
$custom-dark: #000000;
JSON
{
  "hex": "#254586",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 134
  },
  "hsl": {
    "h": 220.206,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.11537,
    "h": 262.7
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254586

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

Preview Lab → · Contrast checker → · Palette generator →

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