#254E89#254E89

#254E89 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.108 H 257.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#254E89
RGBrgb(37, 78, 137)
HSLhsl(215, 57%, 34%)
HSVhsv(215, 73%, 54%)
CMYKcmyk(73%, 43.1%, 0%, 46.3%)
CIE-LABlab(33.24, 6.90, -37.11)
CIE-LCHlch(33.24, 37.75, 280.54°)
OKLaboklab(42.64% -0.023 -0.106)
OKLCHoklch(42.64% 0.108 257.8)
XYZxyz(8.0011, 7.6474, 24.7165)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254E89 #896025
analogous
#258089 #254E89 #2E2589
triadic
#254E89 #89254E #4E8925
tetradic
#254E89 #892580 #896025 #25892E
square
#254E89 #892580 #896025 #25892E
split-complementary
#254E89 #892E25 #808925
monochromatic
#0B1729 #183359 #254E89 #3269B9 #5789D2

Accessibility & contrast

On white

8.30
#254E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #254E89
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254E89#FFFFFF#000000##FFFFFF
##254E891.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538B
Deuteranopia (green-blind)
#214A88
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #254e89;
/* rgb */ color: rgb(37, 78, 137);
/* oklch */ color: oklch(42.6% 0.108 257.8);
Tailwind
colors: {
  custom: {
    50: '#6d7fac',
    500: '#254e89',
    950: '#000000',
  },
}
SCSS
$custom: #254e89;
$custom-light: #6d7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#254e89",
  "rgb": {
    "r": 37,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 215.4,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42639,
    "c": 0.10846,
    "h": 257.8
  },
  "luminance": 0.07648
}

Semantic roles & 50–950 ramp

primary
#254E89
secondary
#B68E54
accent
#A247E1
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #254E89

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

Preview Lab → · Contrast checker → · Palette generator →

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