#222EBC#222EBC

#222EBC is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.216 H 268.9°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#222EBC
RGBrgb(34, 46, 188)
HSLhsl(235, 69%, 44%)
HSVhsv(235, 82%, 74%)
CMYKcmyk(81.9%, 75.5%, 0%, 26.3%)
CIE-LABlab(29.22, 46.60, -74.41)
CIE-LCHlch(29.22, 87.79, 302.06°)
OKLaboklab(40.94% -0.0042 -0.2156)
OKLCHoklch(40.94% 0.216 268.9)
XYZxyz(10.7107, 5.9236, 48.1461)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222EBC #BCB022
analogous
#227BBC #222EBC #6322BC
triadic
#222EBC #BC222E #2EBC22
tetradic
#222EBC #BC227B #BCB022 #22BC63
square
#222EBC #BC227B #BCB022 #22BC63
split-complementary
#222EBC #BC6322 #7BBC22
monochromatic
#0F1554 #192188 #222EBC #3F4BDC #737CE6

Accessibility & contrast

On white

9.61
#222EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#222EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222EBC
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222EBC#FFFFFF#000000##FFFFFF
##222EBC1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#003DBA
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #222ebc;
/* rgb */ color: rgb(34, 46, 188);
/* oklch */ color: oklch(40.9% 0.216 268.9);
Tailwind
colors: {
  custom: {
    50: '#7b68d2',
    500: '#222ebc',
    950: '#000000',
  },
}
SCSS
$custom: #222ebc;
$custom-light: #7b68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#222ebc",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 235.325,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40937,
    "c": 0.21564,
    "h": 268.9
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#222EBC
secondary
#CDC56D
accent
#DE3CEC
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #222EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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