#222E9C#222E9C

#222E9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.176 H 270.0°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#222E9C
RGBrgb(34, 46, 156)
HSLhsl(234, 64%, 37%)
HSVhsv(234, 78%, 61%)
CMYKcmyk(78.2%, 70.5%, 0%, 38.8%)
CIE-LABlab(25.84, 35.38, -60.76)
CIE-LCHlch(25.84, 70.31, 300.21°)
OKLaboklab(37.52% 0 -0.1759)
OKLCHoklch(37.52% 0.176 270)
XYZxyz(7.6354, 4.6935, 31.9496)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222E9C #9C9022
analogous
#226B9C #222E9C #53229C
triadic
#222E9C #9C222E #2E9C22
tetradic
#222E9C #9C226B #9C9022 #229C53
square
#222E9C #9C226B #9C9022 #229C53
split-complementary
#222E9C #9C5322 #6B9C22
monochromatic
#0C1038 #171F6A #222E9C #2D3DCE #5D69DC

Accessibility & contrast

On white

10.83
#222E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#222E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222E9C
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222E9C#FFFFFF#000000##FFFFFF
##222E9C1.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00379A
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #222e9c;
/* rgb */ color: rgb(34, 46, 156);
/* oklch */ color: oklch(37.5% 0.176 270.0);
Tailwind
colors: {
  custom: {
    50: '#7267ba',
    500: '#222e9c',
    950: '#000000',
  },
}
SCSS
$custom: #222e9c;
$custom-light: #7267ba;
$custom-dark: #000000;
JSON
{
  "hex": "#222e9c",
  "rgb": {
    "r": 34,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 234.098,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37517,
    "c": 0.17591,
    "h": 270
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#222E9C
secondary
#C0B65A
accent
#D741E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #222E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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