#22309E#22309E

#22309E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.176 H 269.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#22309E
RGBrgb(34, 48, 158)
HSLhsl(233, 65%, 38%)
HSVhsv(233, 78%, 62%)
CMYKcmyk(78.5%, 69.6%, 0%, 38%)
CIE-LABlab(26.51, 34.84, -60.88)
CIE-LCHlch(26.51, 70.15, 299.78°)
OKLaboklab(38.06% -0.0012 -0.1763)
OKLCHoklch(38.06% 0.176 269.6)
XYZxyz(7.8861, 4.9217, 32.8755)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22309E #9E9022
analogous
#226E9E #22309E #52229E
triadic
#22309E #9E2230 #309E22
tetradic
#22309E #9E226E #9E9022 #229E52
square
#22309E #9E226E #9E9022 #229E52
split-complementary
#22309E #9E5222 #6E9E22
monochromatic
#0C1139 #17216C #22309E #2D3FD0 #5E6CDC

Accessibility & contrast

On white

10.58
#22309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#22309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22309E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22309E#FFFFFF#000000##FFFFFF
##22309E1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22309e;
/* rgb */ color: rgb(34, 48, 158);
/* oklch */ color: oklch(38.1% 0.176 269.6);
Tailwind
colors: {
  custom: {
    50: '#7368bc',
    500: '#22309e',
    950: '#000000',
  },
}
SCSS
$custom: #22309e;
$custom-light: #7368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22309e",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 233.226,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38061,
    "c": 0.17626,
    "h": 269.6
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#22309E
secondary
#C1B55B
accent
#D540E8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22309E

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

Preview Lab → · Contrast checker → · Palette generator →

#22309E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva