#254E94#254E94

#254E94 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.4% C 0.124 H 260.4°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#254E94
RGBrgb(37, 78, 148)
HSLhsl(218, 60%, 36%)
HSVhsv(218, 75%, 58%)
CMYKcmyk(75%, 47.3%, 0%, 42%)
CIE-LABlab(33.94, 11.20, -42.70)
CIE-LCHlch(33.94, 44.15, 284.70°)
OKLaboklab(43.41% -0.0208 -0.1224)
OKLCHoklch(43.41% 0.124 260.4)
XYZxyz(8.8307, 7.9792, 29.0860)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E94 #946B25
analogous
#258694 #254E94 #342594
triadic
#254E94 #94254E #4E9425
tetradic
#254E94 #942586 #946B25 #259434
square
#254E94 #942586 #946B25 #259434
split-complementary
#254E94 #943425 #869425
monochromatic
#0D1A32 #193463 #254E94 #3168C5 #5D8AD6

Accessibility & contrast

On white

8.09
#254E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#254E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254E94
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E94#FFFFFF#000000##FFFFFF
##254E941.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295597
Deuteranopia (green-blind)
#0F4B93
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #254e94;
/* rgb */ color: rgb(37, 78, 148);
/* oklch */ color: oklch(43.4% 0.124 260.4);
Tailwind
colors: {
  custom: {
    50: '#6f7fb4',
    500: '#254e94',
    950: '#000000',
  },
}
SCSS
$custom: #254e94;
$custom-light: #6f7fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#254e94",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 148
  },
  "hsl": {
    "h": 217.838,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43408,
    "c": 0.12419,
    "h": 260.4
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#254E94
secondary
#BB9759
accent
#A945E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #254E94

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

Preview Lab → · Contrast checker → · Palette generator →

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