#222FBC#222FBC

#222FBC is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.1% C 0.215 H 268.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#222FBC
RGBrgb(34, 47, 188)
HSLhsl(235, 69%, 44%)
HSVhsv(235, 82%, 74%)
CMYKcmyk(81.9%, 75%, 0%, 26.3%)
CIE-LABlab(29.42, 46.03, -74.07)
CIE-LCHlch(29.42, 87.21, 301.86°)
OKLaboklab(41.08% -0.0045 -0.2146)
OKLCHoklch(41.08% 0.215 268.8)
XYZxyz(10.7502, 6.0027, 48.1592)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222FBC #BCAF22
analogous
#227CBC #222FBC #6222BC
triadic
#222FBC #BC222F #2FBC22
tetradic
#222FBC #BC227C #BCAF22 #22BC62
square
#222FBC #BC227C #BCAF22 #22BC62
split-complementary
#222FBC #BC6222 #7CBC22
monochromatic
#0F1554 #192288 #222FBC #3F4CDC #737CE6

Accessibility & contrast

On white

9.54
#222FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#222FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222FBC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222FBC#FFFFFF#000000##FFFFFF
##222FBC1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#003EBA
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #222fbc;
/* rgb */ color: rgb(34, 47, 188);
/* oklch */ color: oklch(41.1% 0.215 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b69d2',
    500: '#222fbc',
    950: '#000000',
  },
}
SCSS
$custom: #222fbc;
$custom-light: #7b69d2;
$custom-dark: #000000;
JSON
{
  "hex": "#222fbc",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 234.935,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41079,
    "c": 0.21469,
    "h": 268.8
  },
  "luminance": 0.06004
}

Semantic roles & 50–950 ramp

primary
#222FBC
secondary
#CDC46D
accent
#DD3CEC
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #222FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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