#254E92#254E92

#254E92 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.3% C 0.121 H 260.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#254E92
RGBrgb(37, 78, 146)
HSLhsl(217, 60%, 36%)
HSVhsv(217, 75%, 57%)
CMYKcmyk(74.7%, 46.6%, 0%, 42.7%)
CIE-LABlab(33.81, 10.42, -41.70)
CIE-LCHlch(33.81, 42.98, 284.03°)
OKLaboklab(43.27% -0.0211 -0.1195)
OKLCHoklch(43.27% 0.121 260)
XYZxyz(8.6738, 7.9165, 28.2595)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E92 #926925
analogous
#258492 #254E92 #322592
triadic
#254E92 #92254E #4E9225
tetradic
#254E92 #922584 #926925 #259232
square
#254E92 #922584 #926925 #259232
split-complementary
#254E92 #923225 #849225
monochromatic
#0C1A30 #193461 #254E92 #3168C3 #5C8AD6

Accessibility & contrast

On white

8.13
#254E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#254E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E92
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E92#FFFFFF#000000##FFFFFF
##254E921.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#144B91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #254e92;
/* rgb */ color: rgb(37, 78, 146);
/* oklch */ color: oklch(43.3% 0.121 260.0);
Tailwind
colors: {
  custom: {
    50: '#6f7fb2',
    500: '#254e92',
    950: '#000000',
  },
}
SCSS
$custom: #254e92;
$custom-light: #6f7fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#254e92",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 217.431,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43265,
    "c": 0.12134,
    "h": 260
  },
  "luminance": 0.07917
}

Semantic roles & 50–950 ramp

primary
#254E92
secondary
#BA9658
accent
#A745E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #254E92

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

Preview Lab → · Contrast checker → · Palette generator →

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