#22368B#22368B

#22368B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.143 H 268.4°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#22368B
RGBrgb(34, 54, 139)
HSLhsl(229, 61%, 34%)
HSVhsv(229, 76%, 55%)
CMYKcmyk(75.5%, 61.2%, 0%, 45.5%)
CIE-LABlab(26.28, 23.66, -49.58)
CIE-LCHlch(26.28, 54.94, 295.51°)
OKLaboklab(37.35% -0.0041 -0.1431)
OKLCHoklch(37.35% 0.143 268.4)
XYZxyz(6.6374, 4.8418, 25.0058)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22368B #8B7722
analogous
#226B8B #22368B #42228B
triadic
#22368B #8B2236 #368B22
tetradic
#22368B #8B226B #8B7722 #228B42
square
#22368B #8B226B #8B7722 #228B42
split-complementary
#22368B #8B4222 #6B8B22
monochromatic
#0A1029 #16235A #22368B #2E49BC #536BD5

Accessibility & contrast

On white

10.67
#22368B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#22368B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22368B
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22368B#FFFFFF#000000##FFFFFF
##22368B1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22368b;
/* rgb */ color: rgb(34, 54, 139);
/* oklch */ color: oklch(37.4% 0.143 268.4);
Tailwind
colors: {
  custom: {
    50: '#6d6cae',
    500: '#22368b',
    950: '#000000',
  },
}
SCSS
$custom: #22368b;
$custom-light: #6d6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#22368b",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 228.571,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37353,
    "c": 0.1432,
    "h": 268.4
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#22368B
secondary
#B8A550
accent
#C544E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #22368B

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

Preview Lab → · Contrast checker → · Palette generator →

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