#22316B#22316B

#22316B is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.103 H 269.3°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#22316B
RGBrgb(34, 49, 107)
HSLhsl(228, 52%, 28%)
HSVhsv(228, 68%, 42%)
CMYKcmyk(68.2%, 54.2%, 0%, 58%)
CIE-LABlab(22.29, 14.62, -35.80)
CIE-LCHlch(22.29, 38.67, 292.21°)
OKLaboklab(33.56% -0.0013 -0.1027)
OKLCHoklch(33.56% 0.103 269.3)
XYZxyz(4.4109, 3.5978, 14.3691)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22316B #6B5C22
analogous
#22566B #22316B #37226B
triadic
#22316B #6B2231 #316B22
tetradic
#22316B #6B2256 #6B5C22 #226B37
square
#22316B #6B2256 #6B5C22 #226B37
split-complementary
#22316B #6B3722 #566B22
monochromatic
#070B17 #131C3D #22316B #314699 #445EC4

Accessibility & contrast

On white

12.21
#22316B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#22316B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22316B
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22316B#FFFFFF#000000##FFFFFF
##22316B1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F396D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #22316b;
/* rgb */ color: rgb(34, 49, 107);
/* oklch */ color: oklch(33.6% 0.103 269.3);
Tailwind
colors: {
  custom: {
    50: '#666896',
    500: '#22316b',
    950: '#000000',
  },
}
SCSS
$custom: #22316b;
$custom-light: #666896;
$custom-dark: #000000;
JSON
{
  "hex": "#22316b",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 107
  },
  "hsl": {
    "h": 227.671,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33555,
    "c": 0.1027,
    "h": 269.3
  },
  "luminance": 0.03598
}

Semantic roles & 50–950 ramp

primary
#22316B
secondary
#9F8D4A
accent
#BE4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #22316B

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

Preview Lab → · Contrast checker → · Palette generator →

#22316B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva