#222BAC#222BAC

#222BAC is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.7% C 0.199 H 269.8°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#222BAC
RGBrgb(34, 43, 172)
HSLhsl(236, 67%, 40%)
HSVhsv(236, 80%, 67%)
CMYKcmyk(80.2%, 75%, 0%, 32.5%)
CIE-LABlab(26.86, 42.86, -68.77)
CIE-LCHlch(26.86, 81.03, 301.94°)
OKLaboklab(38.75% -0.0008 -0.1992)
OKLCHoklch(38.75% 0.199 269.8)
XYZxyz(8.9674, 5.0454, 39.5230)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222BAC #ACA322
analogous
#2270AC #222BAC #5E22AC
triadic
#222BAC #AC222B #2BAC22
tetradic
#222BAC #AC2270 #ACA322 #22AC5E
square
#222BAC #AC2270 #ACA322 #22AC5E
split-complementary
#222BAC #AC5E22 #70AC22
monochromatic
#0E1146 #181E79 #222BAC #343FD7 #676FE1

Accessibility & contrast

On white

10.45
#222BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#222BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222BAC
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222BAC#FFFFFF#000000##FFFFFF
##222BAC1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#0039AA
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #222bac;
/* rgb */ color: rgb(34, 43, 172);
/* oklch */ color: oklch(38.7% 0.199 269.8);
Tailwind
colors: {
  custom: {
    50: '#7766c6',
    500: '#222bac',
    950: '#000000',
  },
}
SCSS
$custom: #222bac;
$custom-light: #7766c6;
$custom-dark: #000000;
JSON
{
  "hex": "#222bac",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 236.087,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38749,
    "c": 0.1992,
    "h": 269.8
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#222BAC
secondary
#C7C063
accent
#DF3EEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #222BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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