#22338A#22338A

#22338A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.146 H 269.3°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#22338A
RGBrgb(34, 51, 138)
HSLhsl(230, 60%, 34%)
HSVhsv(230, 75%, 54%)
CMYKcmyk(75.4%, 63%, 0%, 45.9%)
CIE-LABlab(25.39, 25.33, -50.42)
CIE-LCHlch(25.39, 56.42, 296.68°)
OKLaboklab(36.67% -0.0018 -0.1456)
OKLCHoklch(36.67% 0.146 269.3)
XYZxyz(6.4294, 4.5420, 24.5777)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22338A #8A7922
analogous
#22678A #22338A #45228A
triadic
#22338A #8A2233 #338A22
tetradic
#22338A #8A2267 #8A7922 #228A45
square
#22338A #8A2267 #8A7922 #228A45
split-complementary
#22338A #8A4522 #678A22
monochromatic
#0A0F28 #162159 #22338A #2E45BB #5267D4

Accessibility & contrast

On white

11.00
#22338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#22338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22338A
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22338A#FFFFFF#000000##FFFFFF
##22338A1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #22338a;
/* rgb */ color: rgb(34, 51, 138);
/* oklch */ color: oklch(36.7% 0.146 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d6aad',
    500: '#22338a',
    950: '#000000',
  },
}
SCSS
$custom: #22338a;
$custom-light: #6d6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#22338a",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 230.192,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36665,
    "c": 0.14563,
    "h": 269.3
  },
  "luminance": 0.04543
}

Semantic roles & 50–950 ramp

primary
#22338A
secondary
#B8A750
accent
#CA44E4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #22338A

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

Preview Lab → · Contrast checker → · Palette generator →

#22338A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva