#223684#223684

#223684 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.133 H 268.2°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#223684
RGBrgb(34, 54, 132)
HSLhsl(228, 59%, 33%)
HSVhsv(228, 74%, 52%)
CMYKcmyk(74.2%, 59.1%, 0%, 48.2%)
CIE-LABlab(25.69, 20.93, -46.18)
CIE-LCHlch(25.69, 50.70, 294.38°)
OKLaboklab(36.73% -0.0042 -0.1331)
OKLCHoklch(36.73% 0.133 268.2)
XYZxyz(6.1423, 4.6437, 22.3979)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223684 #847022
analogous
#226784 #223684 #3F2284
triadic
#223684 #842236 #368422
tetradic
#223684 #842267 #847022 #22843F
square
#223684 #842267 #847022 #22843F
split-complementary
#223684 #843F22 #678422
monochromatic
#090E23 #152253 #223684 #2F4AB5 #4F69D2

Accessibility & contrast

On white

10.89
#223684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#223684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223684
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223684#FFFFFF#000000##FFFFFF
##2236841.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223684;
/* rgb */ color: rgb(34, 54, 132);
/* oklch */ color: oklch(36.7% 0.133 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c6ca8',
    500: '#223684',
    950: '#000000',
  },
}
SCSS
$custom: #223684;
$custom-light: #6c6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#223684",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 132
  },
  "hsl": {
    "h": 227.755,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36734,
    "c": 0.1332,
    "h": 268.2
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#223684
secondary
#B5A04D
accent
#C246E2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223684

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

Preview Lab → · Contrast checker → · Palette generator →

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