#254582#254582

#254582 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.109 H 261.9°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#254582
RGBrgb(37, 69, 130)
HSLhsl(219, 56%, 33%)
HSVhsv(219, 72%, 51%)
CMYKcmyk(71.5%, 46.9%, 0%, 49%)
CIE-LABlab(30.06, 10.23, -37.87)
CIE-LCHlch(30.06, 39.23, 285.12°)
OKLaboklab(40.04% -0.0154 -0.1084)
OKLCHoklch(40.04% 0.109 261.9)
XYZxyz(6.9189, 6.2606, 21.9585)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254582 #826225
analogous
#257382 #254582 #332582
triadic
#254582 #822545 #458225
tetradic
#254582 #822573 #826225 #258233
square
#254582 #822573 #826225 #258233
split-complementary
#254582 #823325 #738225
monochromatic
#0A1223 #172C52 #254582 #335EB2 #537ECE

Accessibility & contrast

On white

9.32
#254582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#254582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254582
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254582#FFFFFF#000000##FFFFFF
##2545821.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264B84
Deuteranopia (green-blind)
#144381
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #254582;
/* rgb */ color: rgb(37, 69, 130);
/* oklch */ color: oklch(40.0% 0.109 261.9);
Tailwind
colors: {
  custom: {
    50: '#6b78a7',
    500: '#254582',
    950: '#000000',
  },
}
SCSS
$custom: #254582;
$custom-light: #6b78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#254582",
  "rgb": {
    "r": 37,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 219.355,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40042,
    "c": 0.10948,
    "h": 261.9
  },
  "luminance": 0.06261
}

Semantic roles & 50–950 ramp

primary
#254582
secondary
#B29150
accent
#AB49DF
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #254582

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

Preview Lab → · Contrast checker → · Palette generator →

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