#222F93#222F93

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

Color values

HEX#222F93
RGBrgb(34, 47, 147)
HSLhsl(233, 62%, 35%)
HSVhsv(233, 77%, 58%)
CMYKcmyk(76.9%, 68%, 0%, 42.4%)
CIE-LABlab(25.20, 31.43, -56.30)
CIE-LCHlch(25.20, 64.48, 299.17°)
OKLaboklab(36.78% 0.0004 -0.1629)
OKLCHoklch(36.78% 0.163 270.1)
XYZxyz(6.9409, 4.4789, 28.0968)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F93 #938622
analogous
#226893 #222F93 #4D2293
triadic
#222F93 #93222F #2F9322
tetradic
#222F93 #932268 #938622 #22934D
square
#222F93 #932268 #938622 #22934D
split-complementary
#222F93 #934D22 #689322
monochromatic
#0B0F30 #171F61 #222F93 #2D3FC5 #5766D8

Accessibility & contrast

On white

11.08
#222F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#222F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F93
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F93#FFFFFF#000000##FFFFFF
##222F931.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #222f93;
/* rgb */ color: rgb(34, 47, 147);
/* oklch */ color: oklch(36.8% 0.163 270.1);
Tailwind
colors: {
  custom: {
    50: '#7067b4',
    500: '#222f93',
    950: '#000000',
  },
}
SCSS
$custom: #222f93;
$custom-light: #7067b4;
$custom-dark: #000000;
JSON
{
  "hex": "#222f93",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 233.097,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36779,
    "c": 0.16289,
    "h": 270.1
  },
  "luminance": 0.0448
}

Semantic roles & 50–950 ramp

primary
#222F93
secondary
#BCB055
accent
#D342E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222F93

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

Preview Lab → · Contrast checker → · Palette generator →

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