#254C93#254C93

#254C93 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.125 H 261.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#254C93
RGBrgb(37, 76, 147)
HSLhsl(219, 60%, 36%)
HSVhsv(219, 75%, 58%)
CMYKcmyk(74.8%, 48.3%, 0%, 42.4%)
CIE-LABlab(33.28, 12.15, -43.15)
CIE-LCHlch(33.28, 44.83, 285.73°)
OKLaboklab(42.88% -0.0191 -0.1238)
OKLCHoklch(42.88% 0.125 261.2)
XYZxyz(8.6120, 7.6678, 28.6243)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C93 #936C25
analogous
#258393 #254C93 #352593
triadic
#254C93 #93254C #4C9325
tetradic
#254C93 #932583 #936C25 #259335
square
#254C93 #932583 #936C25 #259335
split-complementary
#254C93 #933525 #839325
monochromatic
#0C1931 #193362 #254C93 #3165C4 #5C87D6

Accessibility & contrast

On white

8.29
#254C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#254C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254C93
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C93#FFFFFF#000000##FFFFFF
##254C931.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265496
Deuteranopia (green-blind)
#084A92
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254c93;
/* rgb */ color: rgb(37, 76, 147);
/* oklch */ color: oklch(42.9% 0.125 261.2);
Tailwind
colors: {
  custom: {
    50: '#6f7db3',
    500: '#254c93',
    950: '#000000',
  },
}
SCSS
$custom: #254c93;
$custom-light: #6f7db3;
$custom-dark: #000000;
JSON
{
  "hex": "#254c93",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 147
  },
  "hsl": {
    "h": 218.727,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42881,
    "c": 0.12527,
    "h": 261.2
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#254C93
secondary
#BB9859
accent
#AB45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254C93

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

Preview Lab → · Contrast checker → · Palette generator →

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