#22307C#22307C

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

Color values

HEX#22307C
RGBrgb(34, 48, 124)
HSLhsl(231, 57%, 31%)
HSVhsv(231, 73%, 49%)
CMYKcmyk(72.6%, 61.3%, 0%, 51.4%)
CIE-LABlab(23.37, 21.98, -44.93)
CIE-LCHlch(23.37, 50.02, 296.06°)
OKLaboklab(34.79% 0.0006 -0.1296)
OKLCHoklch(34.79% 0.13 270.3)
XYZxyz(5.3535, 3.9087, 19.5372)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22307C #7C6E22
analogous
#225D7C #22307C #41227C
triadic
#22307C #7C2230 #307C22
tetradic
#22307C #7C225D #7C6E22 #227C41
square
#22307C #7C225D #7C6E22 #227C41
split-complementary
#22307C #7C4122 #5D7C22
monochromatic
#080B1C #151D4C #22307C #2F43AC #4B5FCE

Accessibility & contrast

On white

11.79
#22307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#22307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22307C
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22307C#FFFFFF#000000##FFFFFF
##22307C1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22307c;
/* rgb */ color: rgb(34, 48, 124);
/* oklch */ color: oklch(34.8% 0.130 270.3);
Tailwind
colors: {
  custom: {
    50: '#6a68a3',
    500: '#22307c',
    950: '#000000',
  },
}
SCSS
$custom: #22307c;
$custom-light: #6a68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#22307c",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 230.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34789,
    "c": 0.12956,
    "h": 270.3
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#22307C
secondary
#AF9F4B
accent
#C848E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #22307C

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

Preview Lab → · Contrast checker → · Palette generator →

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