#223387#223387

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

Color values

HEX#223387
RGBrgb(34, 51, 135)
HSLhsl(230, 60%, 33%)
HSVhsv(230, 75%, 53%)
CMYKcmyk(74.8%, 62.2%, 0%, 47.1%)
CIE-LABlab(25.13, 24.17, -48.97)
CIE-LCHlch(25.13, 54.61, 296.27°)
OKLaboklab(36.39% -0.0018 -0.1414)
OKLCHoklch(36.39% 0.141 269.3)
XYZxyz(6.2152, 4.4564, 23.4496)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223387 #877622
analogous
#226587 #223387 #432287
triadic
#223387 #872233 #338722
tetradic
#223387 #872265 #877622 #228743
square
#223387 #872265 #877622 #228743
split-complementary
#223387 #874322 #658722
monochromatic
#090E25 #162156 #223387 #2E45B8 #5066D3

Accessibility & contrast

On white

11.10
#223387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223387
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223387#FFFFFF#000000##FFFFFF
##2233871.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#003785
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223387;
/* rgb */ color: rgb(34, 51, 135);
/* oklch */ color: oklch(36.4% 0.141 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d6aab',
    500: '#223387',
    950: '#000000',
  },
}
SCSS
$custom: #223387;
$custom-light: #6d6aab;
$custom-dark: #000000;
JSON
{
  "hex": "#223387",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 135
  },
  "hsl": {
    "h": 229.901,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.1414,
    "h": 269.3
  },
  "luminance": 0.04457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223387

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

Preview Lab → · Contrast checker → · Palette generator →

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