#222994#222994

#222994 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.171 H 271.2°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#222994
RGBrgb(34, 41, 148)
HSLhsl(236, 63%, 36%)
HSVhsv(236, 77%, 58%)
CMYKcmyk(77%, 72.3%, 0%, 42%)
CIE-LABlab(23.88, 35.63, -59.08)
CIE-LCHlch(23.88, 69.00, 301.09°)
OKLaboklab(35.86% 0.0036 -0.171)
OKLCHoklch(35.86% 0.171 271.2)
XYZxyz(6.7961, 4.0633, 28.4374)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222994 #948D22
analogous
#226294 #222994 #542294
triadic
#222994 #942229 #299422
tetradic
#222994 #942262 #948D22 #229454
square
#222994 #942262 #948D22 #229454
split-complementary
#222994 #945422 #629422
monochromatic
#0B0D30 #171B62 #222994 #2D37C6 #5860D9

Accessibility & contrast

On white

11.58
#222994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#222994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222994
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222994#FFFFFF#000000##FFFFFF
##2229941.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #222994;
/* rgb */ color: rgb(34, 41, 148);
/* oklch */ color: oklch(35.9% 0.171 271.2);
Tailwind
colors: {
  custom: {
    50: '#7163b5',
    500: '#222994',
    950: '#000000',
  },
}
SCSS
$custom: #222994;
$custom-light: #7163b5;
$custom-dark: #000000;
JSON
{
  "hex": "#222994",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 236.316,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35857,
    "c": 0.17106,
    "h": 271.2
  },
  "luminance": 0.04064
}

Semantic roles & 50–950 ramp

primary
#222994
secondary
#BDB655
accent
#DC42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #222994

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

Preview Lab → · Contrast checker → · Palette generator →

#222994 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva