#222AAF#222AAF

#222AAF is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 38.9% C 0.204 H 269.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#222AAF
RGBrgb(34, 42, 175)
HSLhsl(237, 67%, 41%)
HSVhsv(237, 81%, 69%)
CMYKcmyk(80.6%, 76%, 0%, 31.4%)
CIE-LABlab(26.99, 44.46, -70.36)
CIE-LCHlch(26.99, 83.23, 302.29°)
OKLaboklab(38.93% -0.0009 -0.2038)
OKLCHoklch(38.93% 0.204 269.7)
XYZxyz(9.2229, 5.0901, 41.0455)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222AAF #AFA722
analogous
#2270AF #222AAF #6022AF
triadic
#222AAF #AF222A #2AAF22
tetradic
#222AAF #AF2270 #AFA722 #22AF60
square
#222AAF #AF2270 #AFA722 #22AF60
split-complementary
#222AAF #AF6022 #70AF22
monochromatic
#0E1149 #181E7C #222AAF #363FD8 #6970E2

Accessibility & contrast

On white

10.41
#222AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#222AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222AAF
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222AAF#FFFFFF#000000##FFFFFF
##222AAF1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #222aaf;
/* rgb */ color: rgb(34, 42, 175);
/* oklch */ color: oklch(38.9% 0.204 269.7);
Tailwind
colors: {
  custom: {
    50: '#7865c8',
    500: '#222aaf',
    950: '#000000',
  },
}
SCSS
$custom: #222aaf;
$custom-light: #7865c8;
$custom-dark: #000000;
JSON
{
  "hex": "#222aaf",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 236.596,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.20381,
    "h": 269.7
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#222AAF
secondary
#C8C265
accent
#E13DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #222AAF

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

Preview Lab → · Contrast checker → · Palette generator →

#222AAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva