#22368A#22368A

#22368A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.3% C 0.142 H 268.3°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#22368A
RGBrgb(34, 54, 138)
HSLhsl(228, 60%, 34%)
HSVhsv(228, 75%, 54%)
CMYKcmyk(75.4%, 60.9%, 0%, 45.9%)
CIE-LABlab(26.19, 23.27, -49.10)
CIE-LCHlch(26.19, 54.34, 295.36°)
OKLaboklab(37.26% -0.0041 -0.1417)
OKLCHoklch(37.26% 0.142 268.3)
XYZxyz(6.5647, 4.8127, 24.6228)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22368A #8A7622
analogous
#226A8A #22368A #42228A
triadic
#22368A #8A2236 #368A22
tetradic
#22368A #8A226A #8A7622 #228A42
square
#22368A #8A226A #8A7622 #228A42
split-complementary
#22368A #8A4222 #6A8A22
monochromatic
#0A1028 #162359 #22368A #2E49BB #526BD4

Accessibility & contrast

On white

10.70
#22368A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#22368A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22368A
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22368A#FFFFFF#000000##FFFFFF
##22368A1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22368a;
/* rgb */ color: rgb(34, 54, 138);
/* oklch */ color: oklch(37.3% 0.142 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d6cad',
    500: '#22368a',
    950: '#000000',
  },
}
SCSS
$custom: #22368a;
$custom-light: #6d6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#22368a",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 228.462,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37264,
    "c": 0.14178,
    "h": 268.3
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22368A

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

Preview Lab → · Contrast checker → · Palette generator →

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