#22339B#22339B

#22339B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.169 H 269.1°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#22339B
RGBrgb(34, 51, 155)
HSLhsl(232, 64%, 37%)
HSVhsv(232, 78%, 61%)
CMYKcmyk(78.1%, 67.1%, 0%, 39.2%)
CIE-LABlab(26.94, 31.79, -58.34)
CIE-LCHlch(26.94, 66.44, 298.59°)
OKLaboklab(38.29% -0.0026 -0.1688)
OKLCHoklch(38.29% 0.169 269.1)
XYZxyz(7.7579, 5.0734, 31.5744)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22339B #9B8A22
analogous
#22709B #22339B #4D229B
triadic
#22339B #9B2233 #339B22
tetradic
#22339B #9B2270 #9B8A22 #229B4D
square
#22339B #9B2270 #9B8A22 #229B4D
split-complementary
#22339B #9B4D22 #709B22
monochromatic
#0C1237 #172269 #22339B #2D44CD #5C6EDB

Accessibility & contrast

On white

10.42
#22339B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#22339B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22339B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22339B#FFFFFF#000000##FFFFFF
##22339B1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004F62
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #22339b;
/* rgb */ color: rgb(34, 51, 155);
/* oklch */ color: oklch(38.3% 0.169 269.1);
Tailwind
colors: {
  custom: {
    50: '#726ab9',
    500: '#22339b',
    950: '#000000',
  },
}
SCSS
$custom: #22339b;
$custom-light: #726ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#22339b",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 231.57,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.16885,
    "h": 269.1
  },
  "luminance": 0.05074
}

Semantic roles & 50–950 ramp

primary
#22339B
secondary
#C0B159
accent
#D041E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22339B

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

Preview Lab → · Contrast checker → · Palette generator →

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