#222B8B#222B8B

#222B8B is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.3% C 0.157 H 271.3°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#222B8B
RGBrgb(34, 43, 139)
HSLhsl(235, 61%, 34%)
HSVhsv(235, 76%, 55%)
CMYKcmyk(75.5%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.44, 31.07, -54.22)
CIE-LCHlch(23.44, 62.49, 299.81°)
OKLaboklab(35.27% 0.0035 -0.1568)
OKLCHoklch(35.27% 0.157 271.3)
XYZxyz(6.1822, 3.9313, 24.8541)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B8B #8B8222
analogous
#22608B #222B8B #4E228B
triadic
#222B8B #8B222B #2B8B22
tetradic
#222B8B #8B2260 #8B8222 #228B4E
square
#222B8B #8B2260 #8B8222 #228B4E
split-complementary
#222B8B #8B4E22 #608B22
monochromatic
#0A0D29 #161C5A #222B8B #2E3ABC #535ED5

Accessibility & contrast

On white

11.76
#222B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#222B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B8B
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B8B#FFFFFF#000000##FFFFFF
##222B8B1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #222b8b;
/* rgb */ color: rgb(34, 43, 139);
/* oklch */ color: oklch(35.3% 0.157 271.3);
Tailwind
colors: {
  custom: {
    50: '#6e64ae',
    500: '#222b8b',
    950: '#000000',
  },
}
SCSS
$custom: #222b8b;
$custom-light: #6e64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#222b8b",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 234.857,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35267,
    "c": 0.15688,
    "h": 271.3
  },
  "luminance": 0.03932
}

Semantic roles & 50–950 ramp

primary
#222B8B
secondary
#B8B050
accent
#D644E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #222B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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