#254A80#254A80

#254A80 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.100 H 257.9°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#254A80
RGBrgb(37, 74, 128)
HSLhsl(216, 55%, 32%)
HSVhsv(216, 71%, 50%)
CMYKcmyk(71.1%, 42.2%, 0%, 49.8%)
CIE-LABlab(31.46, 6.07, -34.39)
CIE-LCHlch(31.46, 34.92, 280.01°)
OKLaboklab(41.08% -0.021 -0.0981)
OKLCHoklch(41.08% 0.1 257.9)
XYZxyz(7.1066, 6.8487, 21.3653)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254A80 #805B25
analogous
#257880 #254A80 #2D2580
triadic
#254A80 #80254A #4A8025
tetradic
#254A80 #802578 #805B25 #25802D
square
#254A80 #802578 #805B25 #25802D
split-complementary
#254A80 #802D25 #788025
monochromatic
#0A1321 #172F51 #254A80 #3365AF #5284CD

Accessibility & contrast

On white

8.86
#254A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#254A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254A80
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254A80#FFFFFF#000000##FFFFFF
##254A801.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F82
Deuteranopia (green-blind)
#23467F
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #254a80;
/* rgb */ color: rgb(37, 74, 128);
/* oklch */ color: oklch(41.1% 0.100 257.9);
Tailwind
colors: {
  custom: {
    50: '#6b7ca5',
    500: '#254a80',
    950: '#000000',
  },
}
SCSS
$custom: #254a80;
$custom-light: #6b7ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#254a80",
  "rgb": {
    "r": 37,
    "g": 74,
    "b": 128
  },
  "hsl": {
    "h": 215.604,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41082,
    "c": 0.10029,
    "h": 257.9
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#254A80
secondary
#B18A50
accent
#A249DE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #254A80

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

Preview Lab → · Contrast checker → · Palette generator →

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