#222F90#222F90

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

Color values

HEX#222F90
RGBrgb(34, 47, 144)
HSLhsl(233, 62%, 35%)
HSVhsv(233, 76%, 56%)
CMYKcmyk(76.4%, 67.4%, 0%, 43.5%)
CIE-LABlab(24.91, 30.30, -54.92)
CIE-LCHlch(24.91, 62.73, 298.89°)
OKLaboklab(36.48% 0.0006 -0.1588)
OKLCHoklch(36.48% 0.159 270.2)
XYZxyz(6.7085, 4.3860, 26.8732)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F90 #908322
analogous
#226690 #222F90 #4C2290
triadic
#222F90 #90222F #2F9022
tetradic
#222F90 #902266 #908322 #22904C
square
#222F90 #902266 #908322 #22904C
split-complementary
#222F90 #904C22 #669022
monochromatic
#0B0F2D #161F5E #222F90 #2E3FC2 #5565D7

Accessibility & contrast

On white

11.19
#222F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#222F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F90
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F90#FFFFFF#000000##FFFFFF
##222F901.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004093
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #222f90;
/* rgb */ color: rgb(34, 47, 144);
/* oklch */ color: oklch(36.5% 0.159 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f67b1',
    500: '#222f90',
    950: '#000000',
  },
}
SCSS
$custom: #222f90;
$custom-light: #6f67b1;
$custom-dark: #000000;
JSON
{
  "hex": "#222f90",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 232.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36482,
    "c": 0.15885,
    "h": 270.2
  },
  "luminance": 0.04387
}

Semantic roles & 50–950 ramp

primary
#222F90
secondary
#BBAF53
accent
#D243E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222F90

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

Preview Lab → · Contrast checker → · Palette generator →

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