#22337D#22337D

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

Color values

HEX#22337D
RGBrgb(34, 51, 125)
HSLhsl(229, 57%, 31%)
HSVhsv(229, 73%, 49%)
CMYKcmyk(72.8%, 59.2%, 0%, 51%)
CIE-LABlab(24.28, 20.28, -44.07)
CIE-LCHlch(24.28, 48.51, 294.70°)
OKLaboklab(35.5% -0.002 -0.127)
OKLCHoklch(35.5% 0.127 269.1)
XYZxyz(5.5439, 4.1878, 19.9142)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22337D #7D6C22
analogous
#22607D #22337D #3E227D
triadic
#22337D #7D2233 #337D22
tetradic
#22337D #7D2260 #7D6C22 #227D3E
square
#22337D #7D2260 #7D6C22 #227D3E
split-complementary
#22337D #7D3E22 #607D22
monochromatic
#080C1D #151F4D #22337D #2F47AD #4B64CE

Accessibility & contrast

On white

11.43
#22337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#22337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22337D
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22337D#FFFFFF#000000##FFFFFF
##22337D1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22337d;
/* rgb */ color: rgb(34, 51, 125);
/* oklch */ color: oklch(35.5% 0.127 269.1);
Tailwind
colors: {
  custom: {
    50: '#6a6aa3',
    500: '#22337d',
    950: '#000000',
  },
}
SCSS
$custom: #22337d;
$custom-light: #6a6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#22337d",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 228.791,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35498,
    "c": 0.12702,
    "h": 269.1
  },
  "luminance": 0.04188
}

Semantic roles & 50–950 ramp

primary
#22337D
secondary
#B09D4B
accent
#C447E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22337D

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

Preview Lab → · Contrast checker → · Palette generator →

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