#22316F#22316F

#22316F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.109 H 269.5°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#22316F
RGBrgb(34, 49, 111)
HSLhsl(228, 53%, 28%)
HSVhsv(228, 69%, 44%)
CMYKcmyk(69.4%, 55.9%, 0%, 56.5%)
CIE-LABlab(22.60, 16.19, -37.89)
CIE-LCHlch(22.60, 41.20, 293.13°)
OKLaboklab(33.88% -0.0009 -0.1088)
OKLCHoklch(33.88% 0.109 269.5)
XYZxyz(4.6263, 3.6840, 15.5031)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22316F #6F6022
analogous
#22576F #22316F #39226F
triadic
#22316F #6F2231 #316F22
tetradic
#22316F #6F2257 #6F6022 #226F39
square
#22316F #6F2257 #6F6022 #226F39
split-complementary
#22316F #6F3922 #576F22
monochromatic
#070A17 #141C40 #22316F #30469E #455EC6

Accessibility & contrast

On white

12.09
#22316F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#22316F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22316F
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22316F#FFFFFF#000000##FFFFFF
##22316F1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073A71
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #22316f;
/* rgb */ color: rgb(34, 49, 111);
/* oklch */ color: oklch(33.9% 0.109 269.5);
Tailwind
colors: {
  custom: {
    50: '#676899',
    500: '#22316f',
    950: '#000000',
  },
}
SCSS
$custom: #22316f;
$custom-light: #676899;
$custom-dark: #000000;
JSON
{
  "hex": "#22316f",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 111
  },
  "hsl": {
    "h": 228.312,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.10883,
    "h": 269.5
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#22316F
secondary
#A2914A
accent
#C04BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #22316F

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

Preview Lab → · Contrast checker → · Palette generator →

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