#2229AF#2229AF

#2229AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.8% C 0.205 H 269.8°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2229AF
RGBrgb(34, 41, 175)
HSLhsl(237, 67%, 41%)
HSVhsv(237, 81%, 69%)
CMYKcmyk(80.6%, 76.6%, 0%, 31.4%)
CIE-LABlab(26.79, 45.02, -70.68)
CIE-LCHlch(26.79, 83.81, 302.50°)
OKLaboklab(38.8% -0.0006 -0.2047)
OKLCHoklch(38.8% 0.205 269.8)
XYZxyz(9.1878, 5.0200, 41.0339)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2229AF #AFA822
analogous
#226FAF #2229AF #6122AF
triadic
#2229AF #AF2229 #29AF22
tetradic
#2229AF #AF226F #AFA822 #22AF61
square
#2229AF #AF226F #AFA822 #22AF61
split-complementary
#2229AF #AF6122 #6FAF22
monochromatic
#0E1149 #181D7C #2229AF #363ED8 #696FE2

Accessibility & contrast

On white

10.48
#2229AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2229AF
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2229AF#FFFFFF#000000##FFFFFF
##2229AF1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00516B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2229af;
/* rgb */ color: rgb(34, 41, 175);
/* oklch */ color: oklch(38.8% 0.205 269.8);
Tailwind
colors: {
  custom: {
    50: '#7865c8',
    500: '#2229af',
    950: '#000000',
  },
}
SCSS
$custom: #2229af;
$custom-light: #7865c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2229af",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 237.021,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38795,
    "c": 0.20475,
    "h": 269.8
  },
  "luminance": 0.05021
}

Semantic roles & 50–950 ramp

primary
#2229AF
secondary
#C8C365
accent
#E23DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2229AF

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

Preview Lab → · Contrast checker → · Palette generator →

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