#222B7B#222B7B

#222B7B is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.135 H 272.0°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#222B7B
RGBrgb(34, 43, 123)
HSLhsl(234, 57%, 31%)
HSVhsv(234, 72%, 48%)
CMYKcmyk(72.4%, 65%, 0%, 51.8%)
CIE-LABlab(21.93, 25.04, -46.63)
CIE-LCHlch(21.93, 52.93, 298.24°)
OKLaboklab(33.7% 0.0047 -0.1346)
OKLCHoklch(33.7% 0.135 272)
XYZxyz(5.0975, 3.4974, 19.1415)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B7B #7B7222
analogous
#22577B #222B7B #45227B
triadic
#222B7B #7B222B #2B7B22
tetradic
#222B7B #7B2257 #7B7222 #227B45
square
#222B7B #7B2257 #7B7222 #227B45
split-complementary
#222B7B #7B4522 #577B22
monochromatic
#07091B #151A4B #222B7B #2F3CAB #4A58CD

Accessibility & contrast

On white

12.36
#222B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#222B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B7B
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B7B#FFFFFF#000000##FFFFFF
##222B7B1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #222b7b;
/* rgb */ color: rgb(34, 43, 123);
/* oklch */ color: oklch(33.7% 0.135 272.0);
Tailwind
colors: {
  custom: {
    50: '#6a64a2',
    500: '#222b7b',
    950: '#000000',
  },
}
SCSS
$custom: #222b7b;
$custom-light: #6a64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#222b7b",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 233.933,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33702,
    "c": 0.13469,
    "h": 272
  },
  "luminance": 0.03498
}

Semantic roles & 50–950 ramp

primary
#222B7B
secondary
#AEA44B
accent
#D148E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #222B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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