#223388#223388

#223388 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.143 H 269.3°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#223388
RGBrgb(34, 51, 136)
HSLhsl(230, 60%, 33%)
HSVhsv(230, 75%, 53%)
CMYKcmyk(75%, 62.5%, 0%, 46.7%)
CIE-LABlab(25.21, 24.56, -49.46)
CIE-LCHlch(25.21, 55.22, 296.41°)
OKLaboklab(36.48% -0.0018 -0.1428)
OKLCHoklch(36.48% 0.143 269.3)
XYZxyz(6.2859, 4.4847, 23.8221)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223388 #887722
analogous
#226688 #223388 #442288
triadic
#223388 #882233 #338822
tetradic
#223388 #882266 #887722 #228844
square
#223388 #882266 #887722 #228844
split-complementary
#223388 #884422 #668822
monochromatic
#0A0E26 #162157 #223388 #2E45B9 #5167D3

Accessibility & contrast

On white

11.07
#223388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#223388 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223388
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223388#FFFFFF#000000##FFFFFF
##2233881.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418B
Deuteranopia (green-blind)
#003786
Tritanopia (blue-blind)
#004958
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223388;
/* rgb */ color: rgb(34, 51, 136);
/* oklch */ color: oklch(36.5% 0.143 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d6aab',
    500: '#223388',
    950: '#000000',
  },
}
SCSS
$custom: #223388;
$custom-light: #6d6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#223388",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 136
  },
  "hsl": {
    "h": 230,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36481,
    "c": 0.14282,
    "h": 269.3
  },
  "luminance": 0.04485
}

Semantic roles & 50–950 ramp

primary
#223388
secondary
#B7A64F
accent
#C945E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223388

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

Preview Lab → · Contrast checker → · Palette generator →

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