#222F95#222F95

#222F95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.166 H 270.1°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#222F95
RGBrgb(34, 47, 149)
HSLhsl(233, 63%, 36%)
HSVhsv(233, 77%, 58%)
CMYKcmyk(77.2%, 68.5%, 0%, 41.6%)
CIE-LABlab(25.39, 32.17, -57.22)
CIE-LCHlch(25.39, 65.64, 299.35°)
OKLaboklab(36.98% 0.0002 -0.1656)
OKLCHoklch(36.98% 0.166 270.1)
XYZxyz(7.0992, 4.5423, 28.9305)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F95 #958822
analogous
#226895 #222F95 #4E2295
triadic
#222F95 #95222F #2F9522
tetradic
#222F95 #952268 #958822 #22954E
square
#222F95 #952268 #958822 #22954E
split-complementary
#222F95 #954E22 #689522
monochromatic
#0B1031 #171F63 #222F95 #2D3FC7 #5867D9

Accessibility & contrast

On white

11.00
#222F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#222F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F95
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F95#FFFFFF#000000##FFFFFF
##222F951.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222f95;
/* rgb */ color: rgb(34, 47, 149);
/* oklch */ color: oklch(37.0% 0.166 270.1);
Tailwind
colors: {
  custom: {
    50: '#7167b5',
    500: '#222f95',
    950: '#000000',
  },
}
SCSS
$custom: #222f95;
$custom-light: #7167b5;
$custom-dark: #000000;
JSON
{
  "hex": "#222f95",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 233.217,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36978,
    "c": 0.16556,
    "h": 270.1
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#222F95
secondary
#BDB156
accent
#D342E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222F95

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

Preview Lab → · Contrast checker → · Palette generator →

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