#22368C#22368C

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

Color values

HEX#22368C
RGBrgb(34, 54, 140)
HSLhsl(229, 61%, 34%)
HSVhsv(229, 76%, 55%)
CMYKcmyk(75.7%, 61.4%, 0%, 45.1%)
CIE-LABlab(26.36, 24.05, -50.06)
CIE-LCHlch(26.36, 55.54, 295.66°)
OKLaboklab(37.44% -0.0041 -0.1446)
OKLCHoklch(37.44% 0.145 268.4)
XYZxyz(6.7108, 4.8711, 25.3924)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22368C #8C7822
analogous
#226B8C #22368C #43228C
triadic
#22368C #8C2236 #368C22
tetradic
#22368C #8C226B #8C7822 #228C43
square
#22368C #8C226B #8C7822 #228C43
split-complementary
#22368C #8C4322 #6B8C22
monochromatic
#0A102A #16235B #22368C #2E49BD #536CD5

Accessibility & contrast

On white

10.64
#22368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22368C
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22368C#FFFFFF#000000##FFFFFF
##22368C1.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22368c;
/* rgb */ color: rgb(34, 54, 140);
/* oklch */ color: oklch(37.4% 0.145 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e6cae',
    500: '#22368c',
    950: '#000000',
  },
}
SCSS
$custom: #22368c;
$custom-light: #6e6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#22368c",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 228.679,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37444,
    "c": 0.14461,
    "h": 268.4
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#22368C
secondary
#B9A551
accent
#C644E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #22368C

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

Preview Lab → · Contrast checker → · Palette generator →

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