#222B8F#222B8F

#222B8F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.162 H 271.1°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#222B8F
RGBrgb(34, 43, 143)
HSLhsl(235, 62%, 35%)
HSVhsv(235, 76%, 56%)
CMYKcmyk(76.2%, 69.9%, 0%, 43.9%)
CIE-LABlab(23.84, 32.55, -56.06)
CIE-LCHlch(23.84, 64.82, 300.14°)
OKLaboklab(35.67% 0.0031 -0.1622)
OKLCHoklch(35.67% 0.162 271.1)
XYZxyz(6.4798, 4.0503, 26.4216)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222B8F #8F8622
analogous
#22628F #222B8F #50228F
triadic
#222B8F #8F222B #2B8F22
tetradic
#222B8F #8F2262 #8F8622 #228F50
square
#222B8F #8F2262 #8F8622 #228F50
split-complementary
#222B8F #8F5022 #628F22
monochromatic
#0A0D2C #161C5E #222B8F #2E3AC0 #5560D7

Accessibility & contrast

On white

11.60
#222B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#222B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222B8F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222B8F#FFFFFF#000000##FFFFFF
##222B8F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222b8f;
/* rgb */ color: rgb(34, 43, 143);
/* oklch */ color: oklch(35.7% 0.162 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f65b1',
    500: '#222b8f',
    950: '#000000',
  },
}
SCSS
$custom: #222b8f;
$custom-light: #6f65b1;
$custom-dark: #000000;
JSON
{
  "hex": "#222b8f",
  "rgb": {
    "r": 34,
    "g": 43,
    "b": 143
  },
  "hsl": {
    "h": 235.046,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35673,
    "c": 0.16223,
    "h": 271.1
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#222B8F
secondary
#BAB252
accent
#D743E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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