#222D93#222D93

#222D93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.165 H 270.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#222D93
RGBrgb(34, 45, 147)
HSLhsl(234, 62%, 35%)
HSVhsv(234, 77%, 58%)
CMYKcmyk(76.9%, 69.4%, 0%, 42.4%)
CIE-LABlab(24.71, 32.73, -57.10)
CIE-LCHlch(24.71, 65.81, 299.82°)
OKLaboklab(36.43% 0.0015 -0.1652)
OKLCHoklch(36.43% 0.165 270.5)
XYZxyz(6.8627, 4.3227, 28.0708)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D93 #938822
analogous
#226593 #222D93 #4F2293
triadic
#222D93 #93222D #2D9322
tetradic
#222D93 #932265 #938822 #22934F
square
#222D93 #932265 #938822 #22934F
split-complementary
#222D93 #934F22 #659322
monochromatic
#0B0F30 #171E61 #222D93 #2D3CC5 #5764D8

Accessibility & contrast

On white

11.26
#222D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#222D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D93
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D93#FFFFFF#000000##FFFFFF
##222D931.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222d93;
/* rgb */ color: rgb(34, 45, 147);
/* oklch */ color: oklch(36.4% 0.165 270.5);
Tailwind
colors: {
  custom: {
    50: '#7066b4',
    500: '#222d93',
    950: '#000000',
  },
}
SCSS
$custom: #222d93;
$custom-light: #7066b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222d93",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 234.159,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36426,
    "c": 0.16524,
    "h": 270.5
  },
  "luminance": 0.04323
}

Semantic roles & 50–950 ramp

primary
#222D93
secondary
#BCB255
accent
#D642E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222D93

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

Preview Lab → · Contrast checker → · Palette generator →

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