#22368E#22368E

#22368E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.6% C 0.147 H 268.4°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#22368E
RGBrgb(34, 54, 142)
HSLhsl(229, 61%, 35%)
HSVhsv(229, 76%, 56%)
CMYKcmyk(76.1%, 62%, 0%, 44.3%)
CIE-LABlab(26.54, 24.83, -51.02)
CIE-LCHlch(26.54, 56.74, 295.95°)
OKLaboklab(37.63% -0.0041 -0.1474)
OKLCHoklch(37.63% 0.147 268.4)
XYZxyz(6.8597, 4.9307, 26.1761)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22368E #8E7A22
analogous
#226C8E #22368E #44228E
triadic
#22368E #8E2236 #368E22
tetradic
#22368E #8E226C #8E7A22 #228E44
square
#22368E #8E226C #8E7A22 #228E44
split-complementary
#22368E #8E4422 #6C8E22
monochromatic
#0A102B #16235D #22368E #2E49BF #546CD6

Accessibility & contrast

On white

10.57
#22368E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#22368E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22368E
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22368E#FFFFFF#000000##FFFFFF
##22368E1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22368e;
/* rgb */ color: rgb(34, 54, 142);
/* oklch */ color: oklch(37.6% 0.147 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e6cb0',
    500: '#22368e',
    950: '#000000',
  },
}
SCSS
$custom: #22368e;
$custom-light: #6e6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#22368e",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 228.889,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37625,
    "c": 0.14742,
    "h": 268.4
  },
  "luminance": 0.04931
}

Semantic roles & 50–950 ramp

primary
#22368E
secondary
#BAA752
accent
#C743E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #22368E

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

Preview Lab → · Contrast checker → · Palette generator →

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