#222EBD#222EBD

#222EBD is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.0% C 0.217 H 268.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#222EBD
RGBrgb(34, 46, 189)
HSLhsl(235, 70%, 44%)
HSVhsv(235, 82%, 74%)
CMYKcmyk(82%, 75.7%, 0%, 25.9%)
CIE-LABlab(29.33, 46.93, -74.81)
CIE-LCHlch(29.33, 88.32, 302.10°)
OKLaboklab(41.05% -0.0043 -0.2168)
OKLCHoklch(41.05% 0.217 268.9)
XYZxyz(10.8188, 5.9669, 48.7158)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222EBD #BDB122
analogous
#227BBD #222EBD #6322BD
triadic
#222EBD #BD222E #2EBD22
tetradic
#222EBD #BD227B #BDB122 #22BD63
square
#222EBD #BD227B #BDB122 #22BD63
split-complementary
#222EBD #BD6322 #7BBD22
monochromatic
#0F1555 #192189 #222EBD #404CDD #737CE6

Accessibility & contrast

On white

9.57
#222EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222EBD
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222EBD#FFFFFF#000000##FFFFFF
##222EBD1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC1
Deuteranopia (green-blind)
#003DBB
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #222ebd;
/* rgb */ color: rgb(34, 46, 189);
/* oklch */ color: oklch(41.0% 0.217 268.9);
Tailwind
colors: {
  custom: {
    50: '#7b68d2',
    500: '#222ebd',
    950: '#000000',
  },
}
SCSS
$custom: #222ebd;
$custom-light: #7b68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#222ebd",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 235.355,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41047,
    "c": 0.21682,
    "h": 268.9
  },
  "luminance": 0.05968
}

Semantic roles & 50–950 ramp

primary
#222EBD
secondary
#CDC66E
accent
#DF3BEC
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #222EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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