#22336B#22336B

#22336B is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.100 H 268.1°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#22336B
RGBrgb(34, 51, 107)
HSLhsl(226, 52%, 28%)
HSVhsv(226, 68%, 42%)
CMYKcmyk(68.2%, 52.3%, 0%, 58%)
CIE-LABlab(22.89, 13.19, -34.84)
CIE-LCHlch(22.89, 37.25, 290.74°)
OKLaboklab(34.01% -0.0034 -0.0998)
OKLCHoklch(34.01% 0.1 268.1)
XYZxyz(4.4964, 3.7689, 14.3976)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22336B #6B5A22
analogous
#22586B #22336B #35226B
triadic
#22336B #6B2233 #336B22
tetradic
#22336B #6B2258 #6B5A22 #226B35
square
#22336B #6B2258 #6B5A22 #226B35
split-complementary
#22336B #6B3522 #586B22
monochromatic
#070B17 #131D3D #22336B #314999 #4462C4

Accessibility & contrast

On white

11.97
#22336B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#22336B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22336B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22336B#FFFFFF#000000##FFFFFF
##22336B1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143A6D
Deuteranopia (green-blind)
#03336A
Tritanopia (blue-blind)
#00404A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #22336b;
/* rgb */ color: rgb(34, 51, 107);
/* oklch */ color: oklch(34.0% 0.100 268.1);
Tailwind
colors: {
  custom: {
    50: '#666a96',
    500: '#22336b',
    950: '#000000',
  },
}
SCSS
$custom: #22336b;
$custom-light: #666a96;
$custom-dark: #000000;
JSON
{
  "hex": "#22336b",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 226.027,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34008,
    "c": 0.09988,
    "h": 268.1
  },
  "luminance": 0.03769
}

Semantic roles & 50–950 ramp

primary
#22336B
secondary
#9F8B4A
accent
#BA4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22336B

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

Preview Lab → · Contrast checker → · Palette generator →

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