#222BAE#222BAE

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

Color values

HEX#222BAE
RGBrgb(34, 43, 174)
HSLhsl(236, 67%, 41%)
HSVhsv(236, 80%, 68%)
CMYKcmyk(80.5%, 75.3%, 0%, 31.8%)
CIE-LABlab(27.08, 43.55, -69.61)
CIE-LCHlch(27.08, 82.11, 302.03°)
OKLaboklab(38.97% -0.0011 -0.2016)
OKLCHoklch(38.97% 0.202 269.7)
XYZxyz(9.1609, 5.1228, 40.5422)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222BAE #AEA522
analogous
#2271AE #222BAE #5F22AE
triadic
#222BAE #AE222B #2BAE22
tetradic
#222BAE #AE2271 #AEA522 #22AE5F
square
#222BAE #AE2271 #AEA522 #22AE5F
split-complementary
#222BAE #AE5F22 #71AE22
monochromatic
#0E1248 #181E7B #222BAE #3640D8 #6971E2

Accessibility & contrast

On white

10.37
#222BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222BAE
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222BAE#FFFFFF#000000##FFFFFF
##222BAE1.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #222bae;
/* rgb */ color: rgb(34, 43, 174);
/* oklch */ color: oklch(39.0% 0.202 269.7);
Tailwind
colors: {
  custom: {
    50: '#7766c7',
    500: '#222bae',
    950: '#000000',
  },
}
SCSS
$custom: #222bae;
$custom-light: #7766c7;
$custom-dark: #000000;
JSON
{
  "hex": "#222bae",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 236.143,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38968,
    "c": 0.20164,
    "h": 269.7
  },
  "luminance": 0.05124
}

Semantic roles & 50–950 ramp

primary
#222BAE
secondary
#C7C164
accent
#DF3EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #222BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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