#222F92#222F92

#222F92 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.162 H 270.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#222F92
RGBrgb(34, 47, 146)
HSLhsl(233, 62%, 35%)
HSVhsv(233, 77%, 57%)
CMYKcmyk(76.7%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.10, 31.05, -55.84)
CIE-LCHlch(25.10, 63.90, 299.08°)
OKLaboklab(36.68% 0.0004 -0.1615)
OKLCHoklch(36.68% 0.162 270.2)
XYZxyz(6.8627, 4.4477, 27.6854)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F92 #928522
analogous
#226792 #222F92 #4D2292
triadic
#222F92 #92222F #2F9222
tetradic
#222F92 #922267 #928522 #22924D
square
#222F92 #922267 #928522 #22924D
split-complementary
#222F92 #924D22 #679222
monochromatic
#0B0F2F #161F60 #222F92 #2E3FC4 #5766D8

Accessibility & contrast

On white

11.11
#222F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#222F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F92
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F92#FFFFFF#000000##FFFFFF
##222F921.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#004A5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222f92;
/* rgb */ color: rgb(34, 47, 146);
/* oklch */ color: oklch(36.7% 0.162 270.2);
Tailwind
colors: {
  custom: {
    50: '#7067b3',
    500: '#222f92',
    950: '#000000',
  },
}
SCSS
$custom: #222f92;
$custom-light: #7067b3;
$custom-dark: #000000;
JSON
{
  "hex": "#222f92",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 233.036,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36679,
    "c": 0.16155,
    "h": 270.2
  },
  "luminance": 0.04448
}

Semantic roles & 50–950 ramp

primary
#222F92
secondary
#BCB054
accent
#D243E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222F92

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

Preview Lab → · Contrast checker → · Palette generator →

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