#254C92#254C92

#254C92 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 42.8% C 0.124 H 261.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#254C92
RGBrgb(37, 76, 146)
HSLhsl(219, 60%, 36%)
HSVhsv(219, 75%, 57%)
CMYKcmyk(74.7%, 47.9%, 0%, 42.7%)
CIE-LABlab(33.21, 11.76, -42.65)
CIE-LCHlch(33.21, 44.24, 285.42°)
OKLaboklab(42.81% -0.0193 -0.1223)
OKLCHoklch(42.81% 0.124 261)
XYZxyz(8.5338, 7.6366, 28.2128)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254C92 #926B25
analogous
#258292 #254C92 #342592
triadic
#254C92 #92254C #4C9225
tetradic
#254C92 #922582 #926B25 #259234
square
#254C92 #922582 #926B25 #259234
split-complementary
#254C92 #923425 #829225
monochromatic
#0C1930 #193361 #254C92 #3165C3 #5C87D6

Accessibility & contrast

On white

8.31
#254C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254C92
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254C92#FFFFFF#000000##FFFFFF
##254C921.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275395
Deuteranopia (green-blind)
#0B4991
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254c92;
/* rgb */ color: rgb(37, 76, 146);
/* oklch */ color: oklch(42.8% 0.124 261.0);
Tailwind
colors: {
  custom: {
    50: '#6f7db2',
    500: '#254c92',
    950: '#000000',
  },
}
SCSS
$custom: #254c92;
$custom-light: #6f7db2;
$custom-dark: #000000;
JSON
{
  "hex": "#254c92",
  "rgb": {
    "r": 37,
    "g": 76,
    "b": 146
  },
  "hsl": {
    "h": 218.532,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42808,
    "c": 0.12383,
    "h": 261
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#254C92
secondary
#BA9758
accent
#AA45E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #254C92

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

Preview Lab → · Contrast checker → · Palette generator →

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