#22308A#22308A

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

Color values

HEX#22308A
RGBrgb(34, 48, 138)
HSLhsl(232, 60%, 34%)
HSVhsv(232, 75%, 54%)
CMYKcmyk(75.4%, 65.2%, 0%, 45.9%)
CIE-LABlab(24.60, 27.37, -51.70)
CIE-LCHlch(24.60, 58.50, 297.89°)
OKLaboklab(36.09% 0.0003 -0.1494)
OKLCHoklch(36.09% 0.149 270.1)
XYZxyz(6.3025, 4.2883, 24.5354)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22308A #8A7C22
analogous
#22648A #22308A #48228A
triadic
#22308A #8A2230 #308A22
tetradic
#22308A #8A2264 #8A7C22 #228A48
square
#22308A #8A2264 #8A7C22 #228A48
split-complementary
#22308A #8A4822 #648A22
monochromatic
#0A0E28 #161F59 #22308A #2E41BB #5264D4

Accessibility & contrast

On white

11.30
#22308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#22308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22308A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22308A#FFFFFF#000000##FFFFFF
##22308A1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22308a;
/* rgb */ color: rgb(34, 48, 138);
/* oklch */ color: oklch(36.1% 0.149 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e68ad',
    500: '#22308a',
    950: '#000000',
  },
}
SCSS
$custom: #22308a;
$custom-light: #6e68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#22308a",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 231.923,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36086,
    "c": 0.14942,
    "h": 270.1
  },
  "luminance": 0.04289
}

Semantic roles & 50–950 ramp

primary
#22308A
secondary
#B8AA50
accent
#CE44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22308A

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

Preview Lab → · Contrast checker → · Palette generator →

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