#222E8C#222E8C

#222E8C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.155 H 270.6°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#222E8C
RGBrgb(34, 46, 140)
HSLhsl(233, 61%, 34%)
HSVhsv(233, 76%, 55%)
CMYKcmyk(75.7%, 67.1%, 0%, 45.1%)
CIE-LABlab(24.28, 29.46, -53.47)
CIE-LCHlch(24.28, 61.05, 298.85°)
OKLaboklab(35.91% 0.0015 -0.1546)
OKLCHoklch(35.91% 0.155 270.6)
XYZxyz(6.3687, 4.1869, 25.2784)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E8C #8C8022
analogous
#22638C #222E8C #4B228C
triadic
#222E8C #8C222E #2E8C22
tetradic
#222E8C #8C2263 #8C8022 #228C4B
square
#222E8C #8C2263 #8C8022 #228C4B
split-complementary
#222E8C #8C4B22 #638C22
monochromatic
#0A0E2A #161E5B #222E8C #2E3EBD #5362D5

Accessibility & contrast

On white

11.43
#222E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#222E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E8C
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E8C#FFFFFF#000000##FFFFFF
##222E8C1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222e8c;
/* rgb */ color: rgb(34, 46, 140);
/* oklch */ color: oklch(35.9% 0.155 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e67af',
    500: '#222e8c',
    950: '#000000',
  },
}
SCSS
$custom: #222e8c;
$custom-light: #6e67af;
$custom-dark: #000000;
JSON
{
  "hex": "#222e8c",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 140
  },
  "hsl": {
    "h": 233.208,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35906,
    "c": 0.15463,
    "h": 270.6
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#222E8C
secondary
#B9AD51
accent
#D244E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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