#254686#254686

#254686 is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.114 H 262.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#254686
RGBrgb(37, 70, 134)
HSLhsl(220, 57%, 34%)
HSVhsv(220, 72%, 53%)
CMYKcmyk(72.4%, 47.8%, 0%, 47.5%)
CIE-LABlab(30.63, 11.12, -39.44)
CIE-LCHlch(30.63, 40.98, 285.74°)
OKLaboklab(40.56% -0.0157 -0.113)
OKLCHoklch(40.56% 0.114 262.1)
XYZxyz(7.2547, 6.4941, 23.4208)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254686 #866525
analogous
#257686 #254686 #352586
triadic
#254686 #862546 #468625
tetradic
#254686 #862576 #866525 #258635
square
#254686 #862576 #866525 #258635
split-complementary
#254686 #863525 #768625
monochromatic
#0B1426 #182D56 #254686 #325FB6 #557FD0

Accessibility & contrast

On white

9.13
#254686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#254686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254686
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254686#FFFFFF#000000##FFFFFF
##2546861.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D88
Deuteranopia (green-blind)
#104485
Tritanopia (blue-blind)
#00555F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #254686;
/* rgb */ color: rgb(37, 70, 134);
/* oklch */ color: oklch(40.6% 0.114 262.1);
Tailwind
colors: {
  custom: {
    50: '#6c79aa',
    500: '#254686',
    950: '#000000',
  },
}
SCSS
$custom: #254686;
$custom-light: #6c79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#254686",
  "rgb": {
    "r": 37,
    "g": 70,
    "b": 134
  },
  "hsl": {
    "h": 219.588,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40562,
    "c": 0.11408,
    "h": 262.1
  },
  "luminance": 0.06495
}

Semantic roles & 50–950 ramp

primary
#254686
secondary
#B49352
accent
#AC48E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254686

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

Preview Lab → · Contrast checker → · Palette generator →

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