#22307D#22307D

#22307D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.131 H 270.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#22307D
RGBrgb(34, 48, 125)
HSLhsl(231, 57%, 31%)
HSVhsv(231, 73%, 49%)
CMYKcmyk(72.8%, 61.6%, 0%, 51%)
CIE-LABlab(23.45, 22.36, -45.42)
CIE-LCHlch(23.45, 50.63, 296.21°)
OKLaboklab(34.88% 0.0006 -0.131)
OKLCHoklch(34.88% 0.131 270.3)
XYZxyz(5.4170, 3.9341, 19.8719)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22307D #7D6F22
analogous
#225D7D #22307D #41227D
triadic
#22307D #7D2230 #307D22
tetradic
#22307D #7D225D #7D6F22 #227D41
square
#22307D #7D225D #7D6F22 #227D41
split-complementary
#22307D #7D4122 #5D7D22
monochromatic
#080B1D #151E4D #22307D #2F42AD #4B5FCE

Accessibility & contrast

On white

11.75
#22307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#22307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22307D
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22307D#FFFFFF#000000##FFFFFF
##22307D1.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #22307d;
/* rgb */ color: rgb(34, 48, 125);
/* oklch */ color: oklch(34.9% 0.131 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a68a3',
    500: '#22307d',
    950: '#000000',
  },
}
SCSS
$custom: #22307d;
$custom-light: #6a68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22307d",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 230.769,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34879,
    "c": 0.13101,
    "h": 270.3
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#22307D
secondary
#B0A04B
accent
#C947E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22307D

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

Preview Lab → · Contrast checker → · Palette generator →

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