#22309C#22309C

#22309C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.174 H 269.7°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#22309C
RGBrgb(34, 48, 156)
HSLhsl(233, 64%, 37%)
HSVhsv(233, 78%, 61%)
CMYKcmyk(78.2%, 69.2%, 0%, 38.8%)
CIE-LABlab(26.31, 34.11, -59.99)
CIE-LCHlch(26.31, 69.00, 299.62°)
OKLaboklab(37.86% -0.001 -0.1736)
OKLCHoklch(37.86% 0.174 269.7)
XYZxyz(7.7153, 4.8534, 31.9762)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22309C #9C8E22
analogous
#226D9C #22309C #51229C
triadic
#22309C #9C2230 #309C22
tetradic
#22309C #9C226D #9C8E22 #229C51
square
#22309C #9C226D #9C8E22 #229C51
split-complementary
#22309C #9C5122 #6D9C22
monochromatic
#0C1138 #17216A #22309C #2D3FCE #5D6BDC

Accessibility & contrast

On white

10.66
#22309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#22309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22309C
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22309C#FFFFFF#000000##FFFFFF
##22309C1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #22309c;
/* rgb */ color: rgb(34, 48, 156);
/* oklch */ color: oklch(37.9% 0.174 269.7);
Tailwind
colors: {
  custom: {
    50: '#7268ba',
    500: '#22309c',
    950: '#000000',
  },
}
SCSS
$custom: #22309c;
$custom-light: #7268ba;
$custom-dark: #000000;
JSON
{
  "hex": "#22309c",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 233.115,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37857,
    "c": 0.17365,
    "h": 269.7
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#22309C
secondary
#C0B45A
accent
#D441E7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22309C

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

Preview Lab → · Contrast checker → · Palette generator →

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