#254B92#254B92

#254B92 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.125 H 261.5°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#254B92
RGBrgb(37, 75, 146)
HSLhsl(219, 60%, 36%)
HSVhsv(219, 75%, 57%)
CMYKcmyk(74.7%, 48.6%, 0%, 42.7%)
CIE-LABlab(32.92, 12.44, -43.13)
CIE-LCHlch(32.92, 44.88, 286.08°)
OKLaboklab(42.58% -0.0184 -0.1237)
OKLCHoklch(42.58% 0.125 261.5)
XYZxyz(8.4655, 7.4999, 28.1900)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254B92 #926C25
analogous
#258192 #254B92 #362592
triadic
#254B92 #92254B #4B9225
tetradic
#254B92 #922581 #926C25 #259236
square
#254B92 #922581 #926C25 #259236
split-complementary
#254B92 #923625 #819225
monochromatic
#0C1930 #193261 #254B92 #3164C3 #5C86D6

Accessibility & contrast

On white

8.40
#254B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#254B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254B92
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254B92#FFFFFF#000000##FFFFFF
##254B921.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#064991
Tritanopia (blue-blind)
#005C67
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #254b92;
/* rgb */ color: rgb(37, 75, 146);
/* oklch */ color: oklch(42.6% 0.125 261.5);
Tailwind
colors: {
  custom: {
    50: '#6f7cb2',
    500: '#254b92',
    950: '#000000',
  },
}
SCSS
$custom: #254b92;
$custom-light: #6f7cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#254b92",
  "rgb": {
    "r": 37,
    "g": 75,
    "b": 146
  },
  "hsl": {
    "h": 219.083,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42581,
    "c": 0.1251,
    "h": 261.5
  },
  "luminance": 0.07501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #254B92

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

Preview Lab → · Contrast checker → · Palette generator →

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