#222690#222690

#222690 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.169 H 271.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#222690
RGBrgb(34, 38, 144)
HSLhsl(238, 62%, 35%)
HSVhsv(238, 76%, 56%)
CMYKcmyk(76.4%, 73.6%, 0%, 43.5%)
CIE-LABlab(22.79, 36.06, -58.41)
CIE-LCHlch(22.79, 68.64, 301.69°)
OKLaboklab(34.95% 0.0057 -0.169)
OKLCHoklch(34.95% 0.169 271.9)
XYZxyz(6.3851, 3.7393, 26.7654)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222690 #908C22
analogous
#225D90 #222690 #552290
triadic
#222690 #902226 #269022
tetradic
#222690 #90225D #908C22 #229055
square
#222690 #90225D #908C22 #229055
split-complementary
#222690 #905522 #5D9022
monochromatic
#0B0C2D #16195E #222690 #2E33C2 #555AD7

Accessibility & contrast

On white

12.01
#222690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#222690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222690
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222690#FFFFFF#000000##FFFFFF
##2226901.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #222690;
/* rgb */ color: rgb(34, 38, 144);
/* oklch */ color: oklch(34.9% 0.169 271.9);
Tailwind
colors: {
  custom: {
    50: '#7061b2',
    500: '#222690',
    950: '#000000',
  },
}
SCSS
$custom: #222690;
$custom-light: #7061b2;
$custom-dark: #000000;
JSON
{
  "hex": "#222690",
  "rgb": {
    "r": 34,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 237.818,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3495,
    "c": 0.16914,
    "h": 271.9
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#222690
secondary
#BBB753
accent
#DF43E5
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #222690

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

Preview Lab → · Contrast checker → · Palette generator →

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