#222F9C#222F9C

#222F9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.175 H 269.8°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#222F9C
RGBrgb(34, 47, 156)
HSLhsl(234, 64%, 37%)
HSVhsv(234, 78%, 61%)
CMYKcmyk(78.2%, 69.9%, 0%, 38.8%)
CIE-LABlab(26.08, 34.75, -60.37)
CIE-LCHlch(26.08, 69.66, 299.92°)
OKLaboklab(37.69% -0.0005 -0.1748)
OKLCHoklch(37.69% 0.175 269.8)
XYZxyz(7.6749, 4.7726, 31.9627)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F9C #9C8F22
analogous
#226C9C #222F9C #52229C
triadic
#222F9C #9C222F #2F9C22
tetradic
#222F9C #9C226C #9C8F22 #229C52
square
#222F9C #9C226C #9C8F22 #229C52
split-complementary
#222F9C #9C5222 #6C9C22
monochromatic
#0C1138 #17206A #222F9C #2D3ECE #5D6ADC

Accessibility & contrast

On white

10.74
#222F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#222F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F9C
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F9C#FFFFFF#000000##FFFFFF
##222F9C1.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #222f9c;
/* rgb */ color: rgb(34, 47, 156);
/* oklch */ color: oklch(37.7% 0.175 269.8);
Tailwind
colors: {
  custom: {
    50: '#7268ba',
    500: '#222f9c',
    950: '#000000',
  },
}
SCSS
$custom: #222f9c;
$custom-light: #7268ba;
$custom-dark: #000000;
JSON
{
  "hex": "#222f9c",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 233.607,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37686,
    "c": 0.17478,
    "h": 269.8
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#222F9C
secondary
#C0B55A
accent
#D541E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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