#22308C#22308C

#22308C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.152 H 270.1°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#22308C
RGBrgb(34, 48, 140)
HSLhsl(232, 61%, 34%)
HSVhsv(232, 76%, 55%)
CMYKcmyk(75.7%, 65.7%, 0%, 45.1%)
CIE-LABlab(24.79, 28.13, -52.64)
CIE-LCHlch(24.79, 59.69, 298.11°)
OKLaboklab(36.28% 0.0002 -0.1522)
OKLCHoklch(36.28% 0.152 270.1)
XYZxyz(6.4486, 4.3468, 25.3050)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22308C #8C7E22
analogous
#22658C #22308C #49228C
triadic
#22308C #8C2230 #308C22
tetradic
#22308C #8C2265 #8C7E22 #228C49
square
#22308C #8C2265 #8C7E22 #228C49
split-complementary
#22308C #8C4922 #658C22
monochromatic
#0A0E2A #161F5B #22308C #2E41BD #5364D5

Accessibility & contrast

On white

11.23
#22308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#22308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22308C
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22308C#FFFFFF#000000##FFFFFF
##22308C1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22308c;
/* rgb */ color: rgb(34, 48, 140);
/* oklch */ color: oklch(36.3% 0.152 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e68ae',
    500: '#22308c',
    950: '#000000',
  },
}
SCSS
$custom: #22308c;
$custom-light: #6e68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22308c",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 232.075,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36277,
    "c": 0.15218,
    "h": 270.1
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#22308C
secondary
#B9AB51
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22308C

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

Preview Lab → · Contrast checker → · Palette generator →

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