#2229AE#2229AE

#2229AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.7% C 0.204 H 269.9°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2229AE
RGBrgb(34, 41, 174)
HSLhsl(237, 67%, 41%)
HSVhsv(237, 80%, 68%)
CMYKcmyk(80.5%, 76.4%, 0%, 31.8%)
CIE-LABlab(26.68, 44.69, -70.27)
CIE-LCHlch(26.68, 83.27, 302.45°)
OKLaboklab(38.68% -0.0004 -0.2035)
OKLCHoklch(38.68% 0.204 269.9)
XYZxyz(9.0900, 4.9809, 40.5185)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2229AE #AEA722
analogous
#226FAE #2229AE #6122AE
triadic
#2229AE #AE2229 #29AE22
tetradic
#2229AE #AE226F #AEA722 #22AE61
square
#2229AE #AE226F #AEA722 #22AE61
split-complementary
#2229AE #AE6122 #6FAE22
monochromatic
#0E1148 #181D7B #2229AE #363ED8 #696FE2

Accessibility & contrast

On white

10.52
#2229AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2229AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2229AE
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2229AE#FFFFFF#000000##FFFFFF
##2229AE1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#00516A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2229ae;
/* rgb */ color: rgb(34, 41, 174);
/* oklch */ color: oklch(38.7% 0.204 269.9);
Tailwind
colors: {
  custom: {
    50: '#7865c8',
    500: '#2229ae',
    950: '#000000',
  },
}
SCSS
$custom: #2229ae;
$custom-light: #7865c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2229ae",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 237,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38684,
    "c": 0.20355,
    "h": 269.9
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#2229AE
secondary
#C7C264
accent
#E23EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2229AE

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

Preview Lab → · Contrast checker → · Palette generator →

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