#222BA6#222BA6

#222BA6 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.1% C 0.192 H 270.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#222BA6
RGBrgb(34, 43, 166)
HSLhsl(236, 66%, 39%)
HSVhsv(236, 80%, 65%)
CMYKcmyk(79.5%, 74.1%, 0%, 34.9%)
CIE-LABlab(26.22, 40.79, -66.22)
CIE-LCHlch(26.22, 77.77, 301.63°)
OKLaboklab(38.1% 0.0001 -0.1918)
OKLCHoklch(38.1% 0.192 270)
XYZxyz(8.4041, 4.8201, 36.5564)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222BA6 #A69D22
analogous
#226DA6 #222BA6 #5B22A6
triadic
#222BA6 #A6222B #2BA622
tetradic
#222BA6 #A6226D #A69D22 #22A65B
square
#222BA6 #A6226D #A69D22 #22A65B
split-complementary
#222BA6 #A65B22 #6DA622
monochromatic
#0D1140 #181E73 #222BA6 #303CD5 #636CDF

Accessibility & contrast

On white

10.69
#222BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#222BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222BA6
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222BA6#FFFFFF#000000##FFFFFF
##222BA61.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#0037A4
Tritanopia (blue-blind)
#004F66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #222ba6;
/* rgb */ color: rgb(34, 43, 166);
/* oklch */ color: oklch(38.1% 0.192 270.0);
Tailwind
colors: {
  custom: {
    50: '#7565c2',
    500: '#222ba6',
    950: '#000000',
  },
}
SCSS
$custom: #222ba6;
$custom-light: #7565c2;
$custom-dark: #000000;
JSON
{
  "hex": "#222ba6",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 235.909,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38096,
    "c": 0.1918,
    "h": 270
  },
  "luminance": 0.04821
}

Semantic roles & 50–950 ramp

primary
#222BA6
secondary
#C4BD5F
accent
#DD3FE9
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #222BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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