#254E93#254E93

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

Color values

HEX#254E93
RGBrgb(37, 78, 147)
HSLhsl(218, 60%, 36%)
HSVhsv(218, 75%, 58%)
CMYKcmyk(74.8%, 46.9%, 0%, 42.4%)
CIE-LABlab(33.87, 10.81, -42.20)
CIE-LCHlch(33.87, 43.56, 284.37°)
OKLaboklab(43.34% -0.021 -0.121)
OKLCHoklch(43.34% 0.123 260.2)
XYZxyz(8.7519, 7.9477, 28.6709)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E93 #936A25
analogous
#258593 #254E93 #332593
triadic
#254E93 #93254E #4E9325
tetradic
#254E93 #932585 #936A25 #259333
square
#254E93 #932585 #936A25 #259333
split-complementary
#254E93 #933325 #859325
monochromatic
#0C1A31 #193462 #254E93 #3168C4 #5C8AD6

Accessibility & contrast

On white

8.11
#254E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#254E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E93
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E93#FFFFFF#000000##FFFFFF
##254E931.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5596
Deuteranopia (green-blind)
#124B92
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #254e93;
/* rgb */ color: rgb(37, 78, 147);
/* oklch */ color: oklch(43.3% 0.123 260.2);
Tailwind
colors: {
  custom: {
    50: '#6f7fb3',
    500: '#254e93',
    950: '#000000',
  },
}
SCSS
$custom: #254e93;
$custom-light: #6f7fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#254e93",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 217.636,
    "s": 59.783,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43336,
    "c": 0.12276,
    "h": 260.2
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#254E93
secondary
#BB9659
accent
#A845E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #254E93

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

Preview Lab → · Contrast checker → · Palette generator →

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