#254D93#254D93

#254D93 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.124 H 260.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#254D93
RGBrgb(37, 77, 147)
HSLhsl(218, 60%, 36%)
HSVhsv(218, 75%, 58%)
CMYKcmyk(74.8%, 47.6%, 0%, 42.4%)
CIE-LABlab(33.58, 11.48, -42.68)
CIE-LCHlch(33.58, 44.20, 285.06°)
OKLaboklab(43.11% -0.02 -0.1224)
OKLCHoklch(43.11% 0.124 260.7)
XYZxyz(8.6814, 7.8067, 28.6474)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254D93 #936B25
analogous
#258493 #254D93 #342593
triadic
#254D93 #93254D #4D9325
tetradic
#254D93 #932584 #936B25 #259334
square
#254D93 #932584 #936B25 #259334
split-complementary
#254D93 #933425 #849325
monochromatic
#0C1A31 #193362 #254D93 #3167C4 #5C89D6

Accessibility & contrast

On white

8.20
#254D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#254D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254D93
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254D93#FFFFFF#000000##FFFFFF
##254D931.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285496
Deuteranopia (green-blind)
#0D4A92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #254d93;
/* rgb */ color: rgb(37, 77, 147);
/* oklch */ color: oklch(43.1% 0.124 260.7);
Tailwind
colors: {
  custom: {
    50: '#6f7eb3',
    500: '#254d93',
    950: '#000000',
  },
}
SCSS
$custom: #254d93;
$custom-light: #6f7eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#254d93",
  "rgb": {
    "r": 37,
    "g": 77,
    "b": 147
  },
  "hsl": {
    "h": 218.182,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.12401,
    "h": 260.7
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#254D93
secondary
#BB9759
accent
#A945E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254D93

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

Preview Lab → · Contrast checker → · Palette generator →

#254D93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva