#224582#224582

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

Color values

HEX#224582
RGBrgb(34, 69, 130)
HSLhsl(218, 59%, 32%)
HSVhsv(218, 74%, 51%)
CMYKcmyk(73.8%, 46.9%, 0%, 49%)
CIE-LABlab(29.93, 9.75, -38.09)
CIE-LCHlch(29.93, 39.32, 284.36°)
OKLaboklab(39.91% -0.018 -0.1091)
OKLCHoklch(39.91% 0.111 260.7)
XYZxyz(6.8156, 6.2073, 21.9537)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224582 #825F22
analogous
#227582 #224582 #2F2282
triadic
#224582 #822245 #458222
tetradic
#224582 #822275 #825F22 #22822F
square
#224582 #822275 #825F22 #22822F
split-complementary
#224582 #822F22 #758222
monochromatic
#091221 #152B51 #224582 #2F5FB3 #4E7DD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##224582#FFFFFF#000000##FFFFFF
##2245821.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)
#264B84
Deuteranopia (green-blind)
#124281
Tritanopia (blue-blind)
#00535D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #224582;
/* rgb */ color: rgb(34, 69, 130);
/* oklch */ color: oklch(39.9% 0.111 260.7);
Tailwind
colors: {
  custom: {
    50: '#6a78a7',
    500: '#224582',
    950: '#000000',
  },
}
SCSS
$custom: #224582;
$custom-light: #6a78a7;
$custom-dark: #000000;
JSON
{
  "hex": "#224582",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 130
  },
  "hsl": {
    "h": 218.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39905,
    "c": 0.11055,
    "h": 260.7
  },
  "luminance": 0.06208
}

Semantic roles & 50–950 ramp

primary
#224582
secondary
#B48E4C
accent
#A946E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #224582

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

Preview Lab → · Contrast checker → · Palette generator →

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