#22339F#22339F

#22339F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.174 H 269.1°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#22339F
RGBrgb(34, 51, 159)
HSLhsl(232, 65%, 38%)
HSVhsv(232, 79%, 62%)
CMYKcmyk(78.6%, 67.9%, 0%, 37.6%)
CIE-LABlab(27.32, 33.28, -60.15)
CIE-LCHlch(27.32, 68.74, 298.96°)
OKLaboklab(38.68% -0.0029 -0.1741)
OKLCHoklch(38.68% 0.174 269.1)
XYZxyz(8.0994, 5.2100, 33.3729)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22339F #9F8E22
analogous
#22719F #22339F #4F229F
triadic
#22339F #9F2233 #339F22
tetradic
#22339F #9F2271 #9F8E22 #229F4F
square
#22339F #9F2271 #9F8E22 #229F4F
split-complementary
#22339F #9F4F22 #719F22
monochromatic
#0C133A #17236D #22339F #2D43D1 #5F70DD

Accessibility & contrast

On white

10.28
#22339F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#22339F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22339F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22339F#FFFFFF#000000##FFFFFF
##22339F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #22339f;
/* rgb */ color: rgb(34, 51, 159);
/* oklch */ color: oklch(38.7% 0.174 269.1);
Tailwind
colors: {
  custom: {
    50: '#736bbc',
    500: '#22339f',
    950: '#000000',
  },
}
SCSS
$custom: #22339f;
$custom-light: #736bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#22339f",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 159
  },
  "hsl": {
    "h": 231.84,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38682,
    "c": 0.17413,
    "h": 269.1
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#22339F
secondary
#C1B45B
accent
#D140E8
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #22339F

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

Preview Lab → · Contrast checker → · Palette generator →

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