#223886#223886

#223886 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.133 H 267.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#223886
RGBrgb(34, 56, 134)
HSLhsl(227, 60%, 33%)
HSVhsv(227, 75%, 53%)
CMYKcmyk(74.6%, 58.2%, 0%, 47.5%)
CIE-LABlab(26.42, 20.33, -46.25)
CIE-LCHlch(26.42, 50.52, 293.72°)
OKLaboklab(37.33% -0.0058 -0.1333)
OKLCHoklch(37.33% 0.133 267.5)
XYZxyz(6.3754, 4.8890, 23.1573)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223886 #867022
analogous
#226A86 #223886 #3E2286
triadic
#223886 #862238 #388622
tetradic
#223886 #86226A #867022 #22863E
square
#223886 #86226A #867022 #22863E
split-complementary
#223886 #863E22 #6A8622
monochromatic
#090F24 #162455 #223886 #2E4CB7 #506DD3

Accessibility & contrast

On white

10.62
#223886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223886
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223886#FFFFFF#000000##FFFFFF
##2238861.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223886;
/* rgb */ color: rgb(34, 56, 134);
/* oklch */ color: oklch(37.3% 0.133 267.5);
Tailwind
colors: {
  custom: {
    50: '#6c6eaa',
    500: '#223886',
    950: '#000000',
  },
}
SCSS
$custom: #223886;
$custom-light: #6c6eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#223886",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 134
  },
  "hsl": {
    "h": 226.8,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37326,
    "c": 0.13345,
    "h": 267.5
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#223886
secondary
#B69F4E
accent
#C045E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223886

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

Preview Lab → · Contrast checker → · Palette generator →

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