#22368D#22368D

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

Color values

HEX#22368D
RGBrgb(34, 54, 141)
HSLhsl(229, 61%, 34%)
HSVhsv(229, 76%, 55%)
CMYKcmyk(75.9%, 61.7%, 0%, 44.7%)
CIE-LABlab(26.45, 24.44, -50.54)
CIE-LCHlch(26.45, 56.14, 295.81°)
OKLaboklab(37.53% -0.0041 -0.146)
OKLCHoklch(37.53% 0.146 268.4)
XYZxyz(6.7849, 4.9008, 25.7825)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22368D #8D7922
analogous
#226C8D #22368D #44228D
triadic
#22368D #8D2236 #368D22
tetradic
#22368D #8D226C #8D7922 #228D44
square
#22368D #8D226C #8D7922 #228D44
split-complementary
#22368D #8D4422 #6C8D22
monochromatic
#0A102A #16235C #22368D #2E49BE #546CD6

Accessibility & contrast

On white

10.60
#22368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#22368D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22368D
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22368D#FFFFFF#000000##FFFFFF
##22368D1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22368d;
/* rgb */ color: rgb(34, 54, 141);
/* oklch */ color: oklch(37.5% 0.146 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e6caf',
    500: '#22368d',
    950: '#000000',
  },
}
SCSS
$custom: #22368d;
$custom-light: #6e6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#22368d",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 228.785,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37534,
    "c": 0.14602,
    "h": 268.4
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#22368D
secondary
#B9A651
accent
#C644E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #22368D

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

Preview Lab → · Contrast checker → · Palette generator →

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