#254B93#254B93

#254B93 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.127 H 261.7°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#254B93
RGBrgb(37, 75, 147)
HSLhsl(219, 60%, 36%)
HSVhsv(219, 75%, 58%)
CMYKcmyk(74.8%, 49%, 0%, 42.4%)
CIE-LABlab(32.99, 12.83, -43.63)
CIE-LCHlch(32.99, 45.47, 286.39°)
OKLaboklab(42.66% -0.0182 -0.1252)
OKLCHoklch(42.66% 0.127 261.7)
XYZxyz(8.5436, 7.5311, 28.6015)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B93 #936D25
analogous
#258293 #254B93 #362593
triadic
#254B93 #93254B #4B9325
tetradic
#254B93 #932582 #936D25 #259336
square
#254B93 #932582 #936D25 #259336
split-complementary
#254B93 #933625 #829325
monochromatic
#0C1931 #193262 #254B93 #3164C4 #5C86D6

Accessibility & contrast

On white

8.38
#254B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#254B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B93
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B93#FFFFFF#000000##FFFFFF
##254B931.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235396
Deuteranopia (green-blind)
#034992
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254b93;
/* rgb */ color: rgb(37, 75, 147);
/* oklch */ color: oklch(42.7% 0.127 261.7);
Tailwind
colors: {
  custom: {
    50: '#6f7cb3',
    500: '#254b93',
    950: '#000000',
  },
}
SCSS
$custom: #254b93;
$custom-light: #6f7cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#254b93",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 147
  },
  "hsl": {
    "h": 219.273,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42655,
    "c": 0.12653,
    "h": 261.7
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#254B93
secondary
#BB9959
accent
#AC45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254B93

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

Preview Lab → · Contrast checker → · Palette generator →

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