#222F86#222F86

#222F86 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.145 H 270.5°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#222F86
RGBrgb(34, 47, 134)
HSLhsl(232, 60%, 33%)
HSVhsv(232, 75%, 53%)
CMYKcmyk(74.6%, 64.9%, 0%, 47.5%)
CIE-LABlab(23.98, 26.52, -50.23)
CIE-LCHlch(23.98, 56.80, 297.83°)
OKLaboklab(35.51% 0.0012 -0.1451)
OKLCHoklch(35.51% 0.145 270.5)
XYZxyz(5.9778, 4.0937, 23.0248)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F86 #867922
analogous
#226186 #222F86 #472286
triadic
#222F86 #86222F #2F8622
tetradic
#222F86 #862261 #867922 #228647
square
#222F86 #862261 #867922 #228647
split-complementary
#222F86 #864722 #618622
monochromatic
#090D24 #161E55 #222F86 #2E40B7 #5061D3

Accessibility & contrast

On white

11.55
#222F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#222F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F86
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F86#FFFFFF#000000##FFFFFF
##222F861.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222f86;
/* rgb */ color: rgb(34, 47, 134);
/* oklch */ color: oklch(35.5% 0.145 270.5);
Tailwind
colors: {
  custom: {
    50: '#6d67aa',
    500: '#222f86',
    950: '#000000',
  },
}
SCSS
$custom: #222f86;
$custom-light: #6d67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#222f86",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 232.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35514,
    "c": 0.1451,
    "h": 270.5
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#222F86
secondary
#B6A84E
accent
#CE45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #222F86

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

Preview Lab → · Contrast checker → · Palette generator →

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