#2224B0#2224B0

#2224B0 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.210 H 270.2°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#2224B0
RGBrgb(34, 36, 176)
HSLhsl(239, 68%, 41%)
HSVhsv(239, 81%, 69%)
CMYKcmyk(80.7%, 79.5%, 0%, 31%)
CIE-LABlab(25.97, 48.05, -72.65)
CIE-LCHlch(25.97, 87.10, 303.48°)
OKLaboklab(38.25% 0.0007 -0.2104)
OKLCHoklch(38.25% 0.21 270.2)
XYZxyz(9.1244, 4.7354, 41.4990)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2224B0 #B0AE22
analogous
#226BB0 #2224B0 #6722B0
triadic
#2224B0 #B02224 #24B022
tetradic
#2224B0 #B0226B #B0AE22 #22B067
square
#2224B0 #B0226B #B0AE22 #22B067
split-complementary
#2224B0 #B06722 #6BB022
monochromatic
#0E0F49 #181A7D #2224B0 #3739D8 #6A6CE2

Accessibility & contrast

On white

10.78
#2224B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2224B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2224B0
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2224B0#FFFFFF#000000##FFFFFF
##2224B01.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B4
Deuteranopia (green-blind)
#0036AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2224b0;
/* rgb */ color: rgb(34, 36, 176);
/* oklch */ color: oklch(38.2% 0.210 270.2);
Tailwind
colors: {
  custom: {
    50: '#7962c9',
    500: '#2224b0',
    950: '#000000',
  },
}
SCSS
$custom: #2224b0;
$custom-light: #7962c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2224b0",
  "rgb": {
    "r": 34,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 239.155,
    "s": 67.619,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38248,
    "c": 0.21038,
    "h": 270.2
  },
  "luminance": 0.04736
}

Semantic roles & 50–950 ramp

primary
#2224B0
secondary
#C8C766
accent
#E83DEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2224B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2224B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva