#254A82#254A82

#254A82 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.103 H 258.5°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#254A82
RGBrgb(37, 74, 130)
HSLhsl(216, 56%, 33%)
HSVhsv(216, 72%, 51%)
CMYKcmyk(71.5%, 43.1%, 0%, 49%)
CIE-LABlab(31.58, 6.85, -35.44)
CIE-LCHlch(31.58, 36.09, 280.94°)
OKLaboklab(41.22% -0.0205 -0.1011)
OKLCHoklch(41.22% 0.103 258.5)
XYZxyz(7.2395, 6.9018, 22.0654)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A82 #825D25
analogous
#257882 #254A82 #2E2582
triadic
#254A82 #82254A #4A8225
tetradic
#254A82 #822578 #825D25 #25822E
square
#254A82 #822578 #825D25 #25822E
split-complementary
#254A82 #822E25 #788225
monochromatic
#0A1423 #172F52 #254A82 #3365B2 #5384CE

Accessibility & contrast

On white

8.82
#254A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#254A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A82
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A82#FFFFFF#000000##FFFFFF
##254A821.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#214681
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254a82;
/* rgb */ color: rgb(37, 74, 130);
/* oklch */ color: oklch(41.2% 0.103 258.5);
Tailwind
colors: {
  custom: {
    50: '#6b7ca7',
    500: '#254a82',
    950: '#000000',
  },
}
SCSS
$custom: #254a82;
$custom-light: #6b7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#254a82",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 216.129,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41217,
    "c": 0.10321,
    "h": 258.5
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#254A82
secondary
#B28B50
accent
#A349DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254A82

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

Preview Lab → · Contrast checker → · Palette generator →

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