#254580#254580

#254580 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.107 H 261.5°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#254580
RGBrgb(37, 69, 128)
HSLhsl(219, 55%, 32%)
HSVhsv(219, 71%, 50%)
CMYKcmyk(71.1%, 46.1%, 0%, 49.8%)
CIE-LABlab(29.93, 9.45, -36.84)
CIE-LCHlch(29.93, 38.03, 284.39°)
OKLaboklab(39.9% -0.0158 -0.1053)
OKLCHoklch(39.9% 0.107 261.5)
XYZxyz(6.7860, 6.2074, 21.2584)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254580 #806025
analogous
#257380 #254580 #322580
triadic
#254580 #802545 #458025
tetradic
#254580 #802573 #806025 #258032
square
#254580 #802573 #806025 #258032
split-complementary
#254580 #803225 #738025
monochromatic
#0A1221 #172B51 #254580 #335FAF #527DCD

Accessibility & contrast

On white

9.37
#254580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#254580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254580
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254580#FFFFFF#000000##FFFFFF
##2545801.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284B82
Deuteranopia (green-blind)
#17437F
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #254580;
/* rgb */ color: rgb(37, 69, 128);
/* oklch */ color: oklch(39.9% 0.107 261.5);
Tailwind
colors: {
  custom: {
    50: '#6b78a5',
    500: '#254580',
    950: '#000000',
  },
}
SCSS
$custom: #254580;
$custom-light: #6b78a5;
$custom-dark: #000000;
JSON
{
  "hex": "#254580",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 128
  },
  "hsl": {
    "h": 218.901,
    "s": 55.152,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.10653,
    "h": 261.5
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#254580
secondary
#B18F50
accent
#AA49DE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254580

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

Preview Lab → · Contrast checker → · Palette generator →

#254580 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva