#254886#254886

#254886 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.112 H 260.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#254886
RGBrgb(37, 72, 134)
HSLhsl(218, 57%, 34%)
HSVhsv(218, 72%, 53%)
CMYKcmyk(72.4%, 46.3%, 0%, 47.5%)
CIE-LABlab(31.23, 9.76, -38.48)
CIE-LCHlch(31.23, 39.70, 284.23°)
OKLaboklab(41.03% -0.0177 -0.1101)
OKLCHoklch(41.03% 0.112 260.9)
XYZxyz(7.3818, 6.7485, 23.4632)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254886 #866325
analogous
#257886 #254886 #332586
triadic
#254886 #862548 #488625
tetradic
#254886 #862578 #866325 #258633
square
#254886 #862578 #866325 #258633
split-complementary
#254886 #863325 #788625
monochromatic
#0B1426 #182E56 #254886 #3262B6 #5582D0

Accessibility & contrast

On white

8.94
#254886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#254886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254886
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254886#FFFFFF#000000##FFFFFF
##2548861.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#164585
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254886;
/* rgb */ color: rgb(37, 72, 134);
/* oklch */ color: oklch(41.0% 0.112 260.9);
Tailwind
colors: {
  custom: {
    50: '#6c7aaa',
    500: '#254886',
    950: '#000000',
  },
}
SCSS
$custom: #254886;
$custom-light: #6c7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#254886",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 134
  },
  "hsl": {
    "h": 218.351,
    "s": 56.725,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41025,
    "c": 0.11153,
    "h": 260.9
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#254886
secondary
#B49152
accent
#A948E0
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #254886

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

Preview Lab → · Contrast checker → · Palette generator →

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