#22337C#22337C

#22337C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.126 H 269.1°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#22337C
RGBrgb(34, 51, 124)
HSLhsl(229, 57%, 31%)
HSVhsv(229, 73%, 49%)
CMYKcmyk(72.6%, 58.9%, 0%, 51.4%)
CIE-LABlab(24.20, 19.88, -43.57)
CIE-LCHlch(24.20, 47.90, 294.53°)
OKLaboklab(35.41% -0.002 -0.1255)
OKLCHoklch(35.41% 0.126 269.1)
XYZxyz(5.4804, 4.1624, 19.5795)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22337C #7C6B22
analogous
#22607C #22337C #3E227C
triadic
#22337C #7C2233 #337C22
tetradic
#22337C #7C2260 #7C6B22 #227C3E
square
#22337C #7C2260 #7C6B22 #227C3E
split-complementary
#22337C #7C3E22 #607C22
monochromatic
#080B1C #151F4C #22337C #2F47AC #4B64CE

Accessibility & contrast

On white

11.46
#22337C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#22337C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22337C
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22337C#FFFFFF#000000##FFFFFF
##22337C1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22337c;
/* rgb */ color: rgb(34, 51, 124);
/* oklch */ color: oklch(35.4% 0.126 269.1);
Tailwind
colors: {
  custom: {
    50: '#6a6aa3',
    500: '#22337c',
    950: '#000000',
  },
}
SCSS
$custom: #22337c;
$custom-light: #6a6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#22337c",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 228.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35411,
    "c": 0.12555,
    "h": 269.1
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#22337C
secondary
#AF9C4B
accent
#C348E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22337C

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

Preview Lab → · Contrast checker → · Palette generator →

#22337C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva