#254986#254986

#254986 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.110 H 260.3°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#254986
RGBrgb(37, 73, 134)
HSLhsl(218, 57%, 34%)
HSVhsv(218, 72%, 53%)
CMYKcmyk(72.4%, 45.5%, 0%, 47.5%)
CIE-LABlab(31.53, 9.08, -37.99)
CIE-LCHlch(31.53, 39.07, 283.45°)
OKLaboklab(41.26% -0.0186 -0.1087)
OKLCHoklch(41.26% 0.11 260.3)
XYZxyz(7.4470, 6.8789, 23.4849)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254986 #866225
analogous
#257986 #254986 #312586
triadic
#254986 #862549 #498625
tetradic
#254986 #862579 #866225 #258631
square
#254986 #862579 #866225 #258631
split-complementary
#254986 #863125 #798625
monochromatic
#0B1526 #182F56 #254986 #3263B6 #5583D0

Accessibility & contrast

On white

8.84
#254986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#254986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254986
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254986#FFFFFF#000000##FFFFFF
##2549861.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F88
Deuteranopia (green-blind)
#194685
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254986;
/* rgb */ color: rgb(37, 73, 134);
/* oklch */ color: oklch(41.3% 0.110 260.3);
Tailwind
colors: {
  custom: {
    50: '#6c7baa',
    500: '#254986',
    950: '#000000',
  },
}
SCSS
$custom: #254986;
$custom-light: #6c7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#254986",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 134
  },
  "hsl": {
    "h": 217.732,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41257,
    "c": 0.11027,
    "h": 260.3
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#254986
secondary
#B49052
accent
#A848E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254986

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

Preview Lab → · Contrast checker → · Palette generator →

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