#224581#224581

#224581 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.8% C 0.109 H 260.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#224581
RGBrgb(34, 69, 129)
HSLhsl(218, 58%, 32%)
HSVhsv(218, 74%, 51%)
CMYKcmyk(73.6%, 46.5%, 0%, 49.4%)
CIE-LABlab(29.86, 9.36, -37.57)
CIE-LCHlch(29.86, 38.72, 283.99°)
OKLaboklab(39.83% -0.0181 -0.1076)
OKLCHoklch(39.83% 0.109 260.4)
XYZxyz(6.7488, 6.1806, 21.6019)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224581 #815E22
analogous
#227581 #224581 #2F2281
triadic
#224581 #812245 #458122
tetradic
#224581 #812275 #815E22 #22812F
square
#224581 #812275 #815E22 #22812F
split-complementary
#224581 #812F22 #758122
monochromatic
#081120 #152B51 #224581 #2F5FB1 #4D7DD0

Accessibility & contrast

On white

9.39
#224581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224581
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224581#FFFFFF#000000##FFFFFF
##2245811.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#144280
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #224581;
/* rgb */ color: rgb(34, 69, 129);
/* oklch */ color: oklch(39.8% 0.109 260.4);
Tailwind
colors: {
  custom: {
    50: '#6a78a6',
    500: '#224581',
    950: '#000000',
  },
}
SCSS
$custom: #224581;
$custom-light: #6a78a6;
$custom-dark: #000000;
JSON
{
  "hex": "#224581",
  "rgb": {
    "r": 34,
    "g": 69,
    "b": 129
  },
  "hsl": {
    "h": 217.895,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39833,
    "c": 0.10908,
    "h": 260.4
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#224581
secondary
#B38D4B
accent
#A846E1
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #224581

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

Preview Lab → · Contrast checker → · Palette generator →

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