#22308D#22308D

#22308D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.154 H 270.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#22308D
RGBrgb(34, 48, 141)
HSLhsl(232, 61%, 34%)
HSVhsv(232, 76%, 55%)
CMYKcmyk(75.9%, 66%, 0%, 44.7%)
CIE-LABlab(24.88, 28.51, -53.11)
CIE-LCHlch(24.88, 60.28, 298.22°)
OKLaboklab(36.37% 0.0001 -0.1535)
OKLCHoklch(36.37% 0.154 270)
XYZxyz(6.5227, 4.3764, 25.6951)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22308D #8D7F22
analogous
#22668D #22308D #4A228D
triadic
#22308D #8D2230 #308D22
tetradic
#22308D #8D2266 #8D7F22 #228D4A
square
#22308D #8D2266 #8D7F22 #228D4A
split-complementary
#22308D #8D4A22 #668D22
monochromatic
#0A0E2A #161F5C #22308D #2E41BE #5465D6

Accessibility & contrast

On white

11.20
#22308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#22308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22308D
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22308D#FFFFFF#000000##FFFFFF
##22308D1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22308d;
/* rgb */ color: rgb(34, 48, 141);
/* oklch */ color: oklch(36.4% 0.154 270.0);
Tailwind
colors: {
  custom: {
    50: '#6e68af',
    500: '#22308d',
    950: '#000000',
  },
}
SCSS
$custom: #22308d;
$custom-light: #6e68af;
$custom-dark: #000000;
JSON
{
  "hex": "#22308d",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 232.15,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36373,
    "c": 0.15355,
    "h": 270
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#22308D
secondary
#B9AC51
accent
#CF44E4
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22308D

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

Preview Lab → · Contrast checker → · Palette generator →

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