#222D94#222D94

#222D94 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.167 H 270.5°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#222D94
RGBrgb(34, 45, 148)
HSLhsl(234, 63%, 36%)
HSVhsv(234, 77%, 58%)
CMYKcmyk(77%, 69.6%, 0%, 42%)
CIE-LABlab(24.81, 33.09, -57.55)
CIE-LCHlch(24.81, 66.39, 299.90°)
OKLaboklab(36.53% 0.0014 -0.1665)
OKLCHoklch(36.53% 0.167 270.5)
XYZxyz(6.9415, 4.3542, 28.4858)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D94 #948922
analogous
#226694 #222D94 #502294
triadic
#222D94 #94222D #2D9422
tetradic
#222D94 #942266 #948922 #229450
square
#222D94 #942266 #948922 #229450
split-complementary
#222D94 #945022 #669422
monochromatic
#0B0F30 #171E62 #222D94 #2D3CC6 #5864D9

Accessibility & contrast

On white

11.22
#222D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222D94
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D94#FFFFFF#000000##FFFFFF
##222D941.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003592
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222d94;
/* rgb */ color: rgb(34, 45, 148);
/* oklch */ color: oklch(36.5% 0.167 270.5);
Tailwind
colors: {
  custom: {
    50: '#7066b4',
    500: '#222d94',
    950: '#000000',
  },
}
SCSS
$custom: #222d94;
$custom-light: #7066b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222d94",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 234.211,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36528,
    "c": 0.16656,
    "h": 270.5
  },
  "luminance": 0.04355
}

Semantic roles & 50–950 ramp

primary
#222D94
secondary
#BDB355
accent
#D642E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222D94

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

Preview Lab → · Contrast checker → · Palette generator →

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