#22309F#22309F

#22309F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.178 H 269.6°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#22309F
RGBrgb(34, 48, 159)
HSLhsl(233, 65%, 38%)
HSVhsv(233, 79%, 62%)
CMYKcmyk(78.6%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.61, 35.21, -61.32)
CIE-LCHlch(26.61, 70.71, 299.86°)
OKLaboklab(38.16% -0.0013 -0.1776)
OKLCHoklch(38.16% 0.178 269.6)
XYZxyz(7.9725, 4.9563, 33.3306)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22309F #9F9122
analogous
#226E9F #22309F #52229F
triadic
#22309F #9F2230 #309F22
tetradic
#22309F #9F226E #9F9122 #229F52
square
#22309F #9F226E #9F9122 #229F52
split-complementary
#22309F #9F5222 #6E9F22
monochromatic
#0C123A #17216D #22309F #2D3FD1 #5F6DDD

Accessibility & contrast

On white

10.55
#22309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#22309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22309F
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22309F#FFFFFF#000000##FFFFFF
##22309F1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00399D
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #22309f;
/* rgb */ color: rgb(34, 48, 159);
/* oklch */ color: oklch(38.2% 0.178 269.6);
Tailwind
colors: {
  custom: {
    50: '#7368bc',
    500: '#22309f',
    950: '#000000',
  },
}
SCSS
$custom: #22309f;
$custom-light: #7368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#22309f",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 233.28,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38163,
    "c": 0.17756,
    "h": 269.6
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#22309F
secondary
#C1B65B
accent
#D540E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22309F

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

Preview Lab → · Contrast checker → · Palette generator →

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