#22308B#22308B

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

Color values

HEX#22308B
RGBrgb(34, 48, 139)
HSLhsl(232, 61%, 34%)
HSVhsv(232, 76%, 55%)
CMYKcmyk(75.5%, 65.5%, 0%, 45.5%)
CIE-LABlab(24.69, 27.75, -52.17)
CIE-LCHlch(24.69, 59.09, 298.00°)
OKLaboklab(36.18% 0.0002 -0.1508)
OKLCHoklch(36.18% 0.151 270.1)
XYZxyz(6.3752, 4.3174, 24.9184)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22308B #8B7D22
analogous
#22658B #22308B #49228B
triadic
#22308B #8B2230 #308B22
tetradic
#22308B #8B2265 #8B7D22 #228B49
square
#22308B #8B2265 #8B7D22 #228B49
split-complementary
#22308B #8B4922 #658B22
monochromatic
#0A0E29 #161F5A #22308B #2E41BC #5364D5

Accessibility & contrast

On white

11.27
#22308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22308B
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22308B#FFFFFF#000000##FFFFFF
##22308B1.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22308b;
/* rgb */ color: rgb(34, 48, 139);
/* oklch */ color: oklch(36.2% 0.151 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e68ae',
    500: '#22308b',
    950: '#000000',
  },
}
SCSS
$custom: #22308b;
$custom-light: #6e68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#22308b",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 232,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36181,
    "c": 0.1508,
    "h": 270.1
  },
  "luminance": 0.04318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #22308B

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

Preview Lab → · Contrast checker → · Palette generator →

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