#22308F#22308F

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

Color values

HEX#22308F
RGBrgb(34, 48, 143)
HSLhsl(232, 62%, 35%)
HSVhsv(232, 76%, 56%)
CMYKcmyk(76.2%, 66.4%, 0%, 43.9%)
CIE-LABlab(25.06, 29.26, -54.05)
CIE-LCHlch(25.06, 61.46, 298.43°)
OKLaboklab(36.57% 0 -0.1563)
OKLCHoklch(36.57% 0.156 270)
XYZxyz(6.6729, 4.4364, 26.4859)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22308F #8F8122
analogous
#22668F #22308F #4B228F
triadic
#22308F #8F2230 #308F22
tetradic
#22308F #8F2266 #8F8122 #228F4B
square
#22308F #8F2266 #8F8122 #228F4B
split-complementary
#22308F #8F4B22 #668F22
monochromatic
#0A0F2C #161F5E #22308F #2E41C0 #5566D7

Accessibility & contrast

On white

11.13
#22308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#22308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22308F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22308F#FFFFFF#000000##FFFFFF
##22308F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #22308f;
/* rgb */ color: rgb(34, 48, 143);
/* oklch */ color: oklch(36.6% 0.156 270.0);
Tailwind
colors: {
  custom: {
    50: '#6f68b1',
    500: '#22308f',
    950: '#000000',
  },
}
SCSS
$custom: #22308f;
$custom-light: #6f68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#22308f",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 232.294,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36567,
    "c": 0.15629,
    "h": 270
  },
  "luminance": 0.04437
}

Semantic roles & 50–950 ramp

primary
#22308F
secondary
#BAAD52
accent
#D043E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #22308F

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

Preview Lab → · Contrast checker → · Palette generator →

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