#222BAF#222BAF

#222BAF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.1% C 0.203 H 269.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#222BAF
RGBrgb(34, 43, 175)
HSLhsl(236, 67%, 41%)
HSVhsv(236, 81%, 69%)
CMYKcmyk(80.6%, 75.4%, 0%, 31.4%)
CIE-LABlab(27.19, 43.89, -70.02)
CIE-LCHlch(27.19, 82.64, 302.08°)
OKLaboklab(39.08% -0.0012 -0.2028)
OKLCHoklch(39.08% 0.203 269.6)
XYZxyz(9.2588, 5.1619, 41.0575)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222BAF #AFA622
analogous
#2271AF #222BAF #5F22AF
triadic
#222BAF #AF222B #2BAF22
tetradic
#222BAF #AF2271 #AFA622 #22AF5F
square
#222BAF #AF2271 #AFA622 #22AF5F
split-complementary
#222BAF #AF5F22 #71AF22
monochromatic
#0E1249 #181E7C #222BAF #3641D8 #6971E2

Accessibility & contrast

On white

10.33
#222BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#222BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222BAF
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222BAF#FFFFFF#000000##FFFFFF
##222BAF1.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.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: #222baf;
/* rgb */ color: rgb(34, 43, 175);
/* oklch */ color: oklch(39.1% 0.203 269.6);
Tailwind
colors: {
  custom: {
    50: '#7866c8',
    500: '#222baf',
    950: '#000000',
  },
}
SCSS
$custom: #222baf;
$custom-light: #7866c8;
$custom-dark: #000000;
JSON
{
  "hex": "#222baf",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 236.17,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39078,
    "c": 0.20285,
    "h": 269.6
  },
  "luminance": 0.05163
}

Semantic roles & 50–950 ramp

primary
#222BAF
secondary
#C8C165
accent
#DF3DEA
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #222BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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