#222377#222377

#222377 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.139 H 274.6°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#222377
RGBrgb(34, 35, 119)
HSLhsl(239, 56%, 30%)
HSVhsv(239, 71%, 47%)
CMYKcmyk(71.4%, 70.6%, 0%, 53.3%)
CIE-LABlab(19.53, 28.92, -48.02)
CIE-LCHlch(19.53, 56.06, 301.06°)
OKLaboklab(31.83% 0.0111 -0.1387)
OKLCHoklch(31.83% 0.139 274.6)
XYZxyz(4.5894, 2.8736, 17.7620)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222377 #777622
analogous
#224E77 #222377 #4B2277
triadic
#222377 #772223 #237722
tetradic
#222377 #77224E #777622 #22774B
square
#222377 #77224E #777622 #22774B
split-complementary
#222377 #774B22 #4E7722
monochromatic
#070718 #141547 #222377 #3031A7 #494ACB

Accessibility & contrast

On white

13.34
#222377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#222377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222377
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222377#FFFFFF#000000##FFFFFF
##2223771.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #222377;
/* rgb */ color: rgb(34, 35, 119);
/* oklch */ color: oklch(31.8% 0.139 274.6);
Tailwind
colors: {
  custom: {
    50: '#6a5e9f',
    500: '#222377',
    950: '#000000',
  },
}
SCSS
$custom: #222377;
$custom-light: #6a5e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#222377",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 239.294,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.31831,
    "c": 0.13916,
    "h": 274.6
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#222377
secondary
#AAA94B
accent
#DD49DF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #222377

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

Preview Lab → · Contrast checker → · Palette generator →

#222377 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva