#222F8D#222F8D

#222F8D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.155 H 270.3°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#222F8D
RGBrgb(34, 47, 141)
HSLhsl(233, 61%, 34%)
HSVhsv(233, 76%, 55%)
CMYKcmyk(75.9%, 66.7%, 0%, 44.7%)
CIE-LABlab(24.63, 29.17, -53.53)
CIE-LCHlch(24.63, 60.96, 298.59°)
OKLaboklab(36.19% 0.0008 -0.1548)
OKLCHoklch(36.19% 0.155 270.3)
XYZxyz(6.4823, 4.2955, 25.6816)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F8D #8D8022
analogous
#22658D #222F8D #4B228D
triadic
#222F8D #8D222F #2F8D22
tetradic
#222F8D #8D2265 #8D8022 #228D4B
square
#222F8D #8D2265 #8D8022 #228D4B
split-complementary
#222F8D #8D4B22 #658D22
monochromatic
#0A0E2A #161F5C #222F8D #2E3FBE #5463D6

Accessibility & contrast

On white

11.30
#222F8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#222F8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F8D
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F8D#FFFFFF#000000##FFFFFF
##222F8D1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #222f8d;
/* rgb */ color: rgb(34, 47, 141);
/* oklch */ color: oklch(36.2% 0.155 270.3);
Tailwind
colors: {
  custom: {
    50: '#6e67af',
    500: '#222f8d',
    950: '#000000',
  },
}
SCSS
$custom: #222f8d;
$custom-light: #6e67af;
$custom-dark: #000000;
JSON
{
  "hex": "#222f8d",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 232.71,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36188,
    "c": 0.15478,
    "h": 270.3
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #222F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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