#22368F#22368F

#22368F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.149 H 268.4°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#22368F
RGBrgb(34, 54, 143)
HSLhsl(229, 62%, 35%)
HSVhsv(229, 76%, 56%)
CMYKcmyk(76.2%, 62.2%, 0%, 43.9%)
CIE-LABlab(26.62, 25.21, -51.50)
CIE-LCHlch(26.62, 57.34, 296.09°)
OKLaboklab(37.72% -0.0041 -0.1488)
OKLCHoklch(37.72% 0.149 268.4)
XYZxyz(6.9351, 4.9608, 26.5733)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22368F #8F7B22
analogous
#226D8F #22368F #45228F
triadic
#22368F #8F2236 #368F22
tetradic
#22368F #8F226D #8F7B22 #228F45
square
#22368F #8F226D #8F7B22 #228F45
split-complementary
#22368F #8F4522 #6D8F22
monochromatic
#0A112C #16235E #22368F #2E49C0 #556DD7

Accessibility & contrast

On white

10.54
#22368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22368F
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22368F#FFFFFF#000000##FFFFFF
##22368F1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22368f;
/* rgb */ color: rgb(34, 54, 143);
/* oklch */ color: oklch(37.7% 0.149 268.4);
Tailwind
colors: {
  custom: {
    50: '#6e6cb1',
    500: '#22368f',
    950: '#000000',
  },
}
SCSS
$custom: #22368f;
$custom-light: #6e6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#22368f",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 228.991,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37716,
    "c": 0.14882,
    "h": 268.4
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#22368F
secondary
#BAA752
accent
#C743E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #22368F

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

Preview Lab → · Contrast checker → · Palette generator →

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