#22337B#22337B

#22337B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.124 H 269.1°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#22337B
RGBrgb(34, 51, 123)
HSLhsl(229, 57%, 31%)
HSVhsv(229, 72%, 48%)
CMYKcmyk(72.4%, 58.5%, 0%, 51.8%)
CIE-LABlab(24.12, 19.49, -43.07)
CIE-LCHlch(24.12, 47.28, 294.35°)
OKLaboklab(35.33% -0.002 -0.1241)
OKLCHoklch(35.33% 0.124 269.1)
XYZxyz(5.4174, 4.1373, 19.2481)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22337B #7B6A22
analogous
#225F7B #22337B #3D227B
triadic
#22337B #7B2233 #337B22
tetradic
#22337B #7B225F #7B6A22 #227B3D
square
#22337B #7B225F #7B6A22 #227B3D
split-complementary
#22337B #7B3D22 #5F7B22
monochromatic
#070B1B #151F4B #22337B #2F47AB #4A63CD

Accessibility & contrast

On white

11.49
#22337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22337B
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22337B#FFFFFF#000000##FFFFFF
##22337B1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22337b;
/* rgb */ color: rgb(34, 51, 123);
/* oklch */ color: oklch(35.3% 0.124 269.1);
Tailwind
colors: {
  custom: {
    50: '#6a6aa2',
    500: '#22337b',
    950: '#000000',
  },
}
SCSS
$custom: #22337b;
$custom-light: #6a6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#22337b",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 228.539,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35325,
    "c": 0.12408,
    "h": 269.1
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#22337B
secondary
#AE9B4B
accent
#C348E0
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22337B

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

Preview Lab → · Contrast checker → · Palette generator →

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