#222F8C#222F8C

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

Color values

HEX#222F8C
RGBrgb(34, 47, 140)
HSLhsl(233, 61%, 34%)
HSVhsv(233, 76%, 55%)
CMYKcmyk(75.7%, 66.4%, 0%, 45.1%)
CIE-LABlab(24.53, 28.80, -53.06)
CIE-LCHlch(24.53, 60.37, 298.49°)
OKLaboklab(36.09% 0.0009 -0.1534)
OKLCHoklch(36.09% 0.153 270.3)
XYZxyz(6.4082, 4.2659, 25.2915)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F8C #8C7F22
analogous
#22648C #222F8C #4A228C
triadic
#222F8C #8C222F #2F8C22
tetradic
#222F8C #8C2264 #8C7F22 #228C4A
square
#222F8C #8C2264 #8C7F22 #228C4A
split-complementary
#222F8C #8C4A22 #648C22
monochromatic
#0A0E2A #161E5B #222F8C #2E40BD #5363D5

Accessibility & contrast

On white

11.33
#222F8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#222F8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F8C
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F8C#FFFFFF#000000##FFFFFF
##222F8C1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222f8c;
/* rgb */ color: rgb(34, 47, 140);
/* oklch */ color: oklch(36.1% 0.153 270.3);
Tailwind
colors: {
  custom: {
    50: '#6e67af',
    500: '#222f8c',
    950: '#000000',
  },
}
SCSS
$custom: #222f8c;
$custom-light: #6e67af;
$custom-dark: #000000;
JSON
{
  "hex": "#222f8c",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 140
  },
  "hsl": {
    "h": 232.642,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.3609,
    "c": 0.15341,
    "h": 270.3
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#222F8C
secondary
#B9AC51
accent
#D044E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222F8C

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

Preview Lab → · Contrast checker → · Palette generator →

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