#254086#254086

#254086 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.2% C 0.122 H 265.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#254086
RGBrgb(37, 64, 134)
HSLhsl(223, 57%, 34%)
HSVhsv(223, 72%, 53%)
CMYKcmyk(72.4%, 52.2%, 0%, 47.5%)
CIE-LABlab(28.85, 15.23, -42.30)
CIE-LCHlch(28.85, 44.96, 289.80°)
OKLaboklab(39.21% -0.01 -0.1215)
OKLCHoklch(39.21% 0.122 265.3)
XYZxyz(6.8979, 5.7806, 23.3019)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254086 #866B25
analogous
#257086 #254086 #3A2586
triadic
#254086 #862540 #408625
tetradic
#254086 #862570 #866B25 #25863A
square
#254086 #862570 #866B25 #25863A
split-complementary
#254086 #863A25 #708625
monochromatic
#0B1226 #182956 #254086 #3257B6 #5577D0

Accessibility & contrast

On white

9.74
#254086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#254086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254086
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254086#FFFFFF#000000##FFFFFF
##2540861.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164989
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #254086;
/* rgb */ color: rgb(37, 64, 134);
/* oklch */ color: oklch(39.2% 0.122 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d74aa',
    500: '#254086',
    950: '#000000',
  },
}
SCSS
$custom: #254086;
$custom-light: #6d74aa;
$custom-dark: #000000;
JSON
{
  "hex": "#254086",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 223.299,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39206,
    "c": 0.12191,
    "h": 265.3
  },
  "luminance": 0.05781
}

Semantic roles & 50–950 ramp

primary
#254086
secondary
#B49952
accent
#B648E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #254086

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

Preview Lab → · Contrast checker → · Palette generator →

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