#2229AC#2229AC

#2229AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.201 H 270.0°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2229AC
RGBrgb(34, 41, 172)
HSLhsl(237, 67%, 40%)
HSVhsv(237, 80%, 67%)
CMYKcmyk(80.2%, 76.2%, 0%, 32.5%)
CIE-LABlab(26.46, 44.01, -69.44)
CIE-LCHlch(26.46, 82.21, 302.37°)
OKLaboklab(38.46% -0.0001 -0.2011)
OKLCHoklch(38.46% 0.201 270)
XYZxyz(8.8965, 4.9035, 39.4993)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2229AC #ACA522
analogous
#226EAC #2229AC #6022AC
triadic
#2229AC #AC2229 #29AC22
tetradic
#2229AC #AC226E #ACA522 #22AC60
square
#2229AC #AC226E #ACA522 #22AC60
split-complementary
#2229AC #AC6022 #6EAC22
monochromatic
#0E1146 #181D79 #2229AC #343DD7 #676EE1

Accessibility & contrast

On white

10.60
#2229AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2229AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2229AC
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2229AC#FFFFFF#000000##FFFFFF
##2229AC1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#005069
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2229ac;
/* rgb */ color: rgb(34, 41, 172);
/* oklch */ color: oklch(38.5% 0.201 270.0);
Tailwind
colors: {
  custom: {
    50: '#7764c6',
    500: '#2229ac',
    950: '#000000',
  },
}
SCSS
$custom: #2229ac;
$custom-light: #7764c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2229ac",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 236.957,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38461,
    "c": 0.20113,
    "h": 270
  },
  "luminance": 0.04905
}

Semantic roles & 50–950 ramp

primary
#2229AC
secondary
#C7C263
accent
#E13EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2229AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2229AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva