#223884#223884

#223884 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.131 H 267.4°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#223884
RGBrgb(34, 56, 132)
HSLhsl(227, 59%, 33%)
HSVhsv(227, 74%, 52%)
CMYKcmyk(74.2%, 57.6%, 0%, 48.2%)
CIE-LABlab(26.26, 19.54, -45.26)
CIE-LCHlch(26.26, 49.30, 293.35°)
OKLaboklab(37.16% -0.0059 -0.1304)
OKLCHoklch(37.16% 0.131 267.4)
XYZxyz(6.2373, 4.8337, 22.4296)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223884 #846E22
analogous
#226984 #223884 #3D2284
triadic
#223884 #842238 #388422
tetradic
#223884 #842269 #846E22 #22843D
square
#223884 #842269 #846E22 #22843D
split-complementary
#223884 #843D22 #698422
monochromatic
#090F23 #152353 #223884 #2F4DB5 #4F6CD2

Accessibility & contrast

On white

10.68
#223884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223884
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223884#FFFFFF#000000##FFFFFF
##2238841.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223884;
/* rgb */ color: rgb(34, 56, 132);
/* oklch */ color: oklch(37.2% 0.131 267.4);
Tailwind
colors: {
  custom: {
    50: '#6b6ea8',
    500: '#223884',
    950: '#000000',
  },
}
SCSS
$custom: #223884;
$custom-light: #6b6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#223884",
  "rgb": {
    "r": 34,
    "g": 56,
    "b": 132
  },
  "hsl": {
    "h": 226.531,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37155,
    "c": 0.13055,
    "h": 267.4
  },
  "luminance": 0.04834
}

Semantic roles & 50–950 ramp

primary
#223884
secondary
#B59E4D
accent
#BF46E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223884

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

Preview Lab → · Contrast checker → · Palette generator →

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