#254A84#254A84

#254A84 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.106 H 259.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#254A84
RGBrgb(37, 74, 132)
HSLhsl(217, 56%, 33%)
HSVhsv(217, 72%, 52%)
CMYKcmyk(72%, 43.9%, 0%, 48.2%)
CIE-LABlab(31.71, 7.63, -36.48)
CIE-LCHlch(31.71, 37.27, 281.81°)
OKLaboklab(41.35% -0.0201 -0.1042)
OKLCHoklch(41.35% 0.106 259.1)
XYZxyz(7.3751, 6.9560, 22.7793)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A84 #845F25
analogous
#257984 #254A84 #302584
triadic
#254A84 #84254A #4A8425
tetradic
#254A84 #842579 #845F25 #258430
square
#254A84 #842579 #845F25 #258430
split-complementary
#254A84 #843025 #798425
monochromatic
#0A1424 #182F54 #254A84 #3265B4 #5484CF

Accessibility & contrast

On white

8.78
#254A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#254A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A84
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A84#FFFFFF#000000##FFFFFF
##254A841.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F86
Deuteranopia (green-blind)
#1E4783
Tritanopia (blue-blind)
#005760
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #254a84;
/* rgb */ color: rgb(37, 74, 132);
/* oklch */ color: oklch(41.4% 0.106 259.1);
Tailwind
colors: {
  custom: {
    50: '#6c7ca8',
    500: '#254a84',
    950: '#000000',
  },
}
SCSS
$custom: #254a84;
$custom-light: #6c7ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#254a84",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 132
  },
  "hsl": {
    "h": 216.632,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41353,
    "c": 0.10611,
    "h": 259.1
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#254A84
secondary
#B38D51
accent
#A548E0
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254A84

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

Preview Lab → · Contrast checker → · Palette generator →

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