#222F8E#222F8E

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

Color values

HEX#222F8E
RGBrgb(34, 47, 142)
HSLhsl(233, 61%, 35%)
HSVhsv(233, 76%, 56%)
CMYKcmyk(76.1%, 66.9%, 0%, 44.3%)
CIE-LABlab(24.72, 29.55, -53.99)
CIE-LCHlch(24.72, 61.55, 298.69°)
OKLaboklab(36.29% 0.0007 -0.1561)
OKLCHoklch(36.29% 0.156 270.3)
XYZxyz(6.5570, 4.3254, 26.0753)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F8E #8E8122
analogous
#22658E #222F8E #4B228E
triadic
#222F8E #8E222F #2F8E22
tetradic
#222F8E #8E2265 #8E8122 #228E4B
square
#222F8E #8E2265 #8E8122 #228E4B
split-complementary
#222F8E #8E4B22 #658E22
monochromatic
#0A0E2B #161F5D #222F8E #2E3FBF #5464D6

Accessibility & contrast

On white

11.26
#222F8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#222F8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F8E
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F8E#FFFFFF#000000##FFFFFF
##222F8E1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00368C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222f8e;
/* rgb */ color: rgb(34, 47, 142);
/* oklch */ color: oklch(36.3% 0.156 270.3);
Tailwind
colors: {
  custom: {
    50: '#6f67b0',
    500: '#222f8e',
    950: '#000000',
  },
}
SCSS
$custom: #222f8e;
$custom-light: #6f67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#222f8e",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 142
  },
  "hsl": {
    "h": 232.778,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36285,
    "c": 0.15614,
    "h": 270.3
  },
  "luminance": 0.04326
}

Semantic roles & 50–950 ramp

primary
#222F8E
secondary
#BAAD52
accent
#D143E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #222F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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