#254885#254885

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

Color values

HEX#254885
RGBrgb(37, 72, 133)
HSLhsl(218, 56%, 33%)
HSVhsv(218, 72%, 52%)
CMYKcmyk(72.2%, 45.9%, 0%, 47.8%)
CIE-LABlab(31.16, 9.37, -37.96)
CIE-LCHlch(31.16, 39.10, 283.86°)
OKLaboklab(40.95% -0.0179 -0.1086)
OKLCHoklch(40.95% 0.11 260.7)
XYZxyz(7.3124, 6.7207, 23.0976)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254885 #856225
analogous
#257885 #254885 #322585
triadic
#254885 #852548 #488525
tetradic
#254885 #852578 #856225 #258532
square
#254885 #852578 #856225 #258532
split-complementary
#254885 #853225 #788525
monochromatic
#0A1425 #182E55 #254885 #3262B5 #5582D0

Accessibility & contrast

On white

8.96
#254885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#254885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254885
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254885#FFFFFF#000000##FFFFFF
##2548851.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E87
Deuteranopia (green-blind)
#184584
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #254885;
/* rgb */ color: rgb(37, 72, 133);
/* oklch */ color: oklch(41.0% 0.110 260.7);
Tailwind
colors: {
  custom: {
    50: '#6c7aa9',
    500: '#254885',
    950: '#000000',
  },
}
SCSS
$custom: #254885;
$custom-light: #6c7aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#254885",
  "rgb": {
    "r": 37,
    "g": 72,
    "b": 133
  },
  "hsl": {
    "h": 218.125,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40954,
    "c": 0.11007,
    "h": 260.7
  },
  "luminance": 0.06721
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254885

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

Preview Lab → · Contrast checker → · Palette generator →

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