#223386#223386

#223386 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.140 H 269.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#223386
RGBrgb(34, 51, 134)
HSLhsl(230, 60%, 33%)
HSVhsv(230, 75%, 53%)
CMYKcmyk(74.6%, 61.9%, 0%, 47.5%)
CIE-LABlab(25.04, 23.78, -48.49)
CIE-LCHlch(25.04, 54.01, 296.13°)
OKLaboklab(36.3% -0.0018 -0.14)
OKLCHoklch(36.3% 0.14 269.3)
XYZxyz(6.1451, 4.4283, 23.0805)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223386 #867522
analogous
#226586 #223386 #432286
triadic
#223386 #862233 #338622
tetradic
#223386 #862265 #867522 #228643
square
#223386 #862265 #867522 #228643
split-complementary
#223386 #864322 #658622
monochromatic
#090E24 #162055 #223386 #2E46B7 #5066D3

Accessibility & contrast

On white

11.14
#223386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#223386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223386
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223386#FFFFFF#000000##FFFFFF
##2233861.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004857
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223386;
/* rgb */ color: rgb(34, 51, 134);
/* oklch */ color: oklch(36.3% 0.140 269.3);
Tailwind
colors: {
  custom: {
    50: '#6c6aaa',
    500: '#223386',
    950: '#000000',
  },
}
SCSS
$custom: #223386;
$custom-light: #6c6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#223386",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 229.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36299,
    "c": 0.13999,
    "h": 269.3
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#223386
secondary
#B6A44E
accent
#C845E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223386

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

Preview Lab → · Contrast checker → · Palette generator →

#223386 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva