#222F99#222F99

#222F99 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.171 H 269.9°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#222F99
RGBrgb(34, 47, 153)
HSLhsl(233, 64%, 37%)
HSVhsv(233, 78%, 60%)
CMYKcmyk(77.8%, 69.3%, 0%, 40%)
CIE-LABlab(25.78, 33.65, -59.03)
CIE-LCHlch(25.78, 67.95, 299.68°)
OKLaboklab(37.38% -0.0002 -0.1709)
OKLCHoklch(37.38% 0.171 269.9)
XYZxyz(7.4240, 4.6722, 30.6414)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F99 #998C22
analogous
#226B99 #222F99 #512299
triadic
#222F99 #99222F #2F9922
tetradic
#222F99 #99226B #998C22 #229951
square
#222F99 #99226B #998C22 #229951
split-complementary
#222F99 #995122 #6B9922
monochromatic
#0C1035 #172067 #222F99 #2D3ECB #5B69DB

Accessibility & contrast

On white

10.85
#222F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#222F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F99
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F99#FFFFFF#000000##FFFFFF
##222F991.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222f99;
/* rgb */ color: rgb(34, 47, 153);
/* oklch */ color: oklch(37.4% 0.171 269.9);
Tailwind
colors: {
  custom: {
    50: '#7268b8',
    500: '#222f99',
    950: '#000000',
  },
}
SCSS
$custom: #222f99;
$custom-light: #7268b8;
$custom-dark: #000000;
JSON
{
  "hex": "#222f99",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 233.445,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37381,
    "c": 0.17086,
    "h": 269.9
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#222F99
secondary
#BFB458
accent
#D541E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #222F99

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

Preview Lab → · Contrast checker → · Palette generator →

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