#223E84#223E84

#223E84 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.123 H 264.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#223E84
RGBrgb(34, 62, 132)
HSLhsl(223, 59%, 33%)
HSVhsv(223, 74%, 52%)
CMYKcmyk(74.2%, 53%, 0%, 48.2%)
CIE-LABlab(27.98, 15.37, -42.47)
CIE-LCHlch(27.98, 45.16, 289.90°)
OKLaboklab(38.46% -0.0111 -0.1221)
OKLCHoklch(38.46% 0.123 264.8)
XYZxyz(6.5457, 5.4506, 22.5324)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E84 #846822
analogous
#226F84 #223E84 #372284
triadic
#223E84 #84223E #3E8422
tetradic
#223E84 #84226F #846822 #228437
square
#223E84 #84226F #846822 #228437
split-complementary
#223E84 #843722 #6F8422
monochromatic
#091023 #152753 #223E84 #2F55B5 #4F74D2

Accessibility & contrast

On white

10.05
#223E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E84
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E84#FFFFFF#000000##FFFFFF
##223E841.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124787
Deuteranopia (green-blind)
#003E83
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223e84;
/* rgb */ color: rgb(34, 62, 132);
/* oklch */ color: oklch(38.5% 0.123 264.8);
Tailwind
colors: {
  custom: {
    50: '#6b72a8',
    500: '#223e84',
    950: '#000000',
  },
}
SCSS
$custom: #223e84;
$custom-light: #6b72a8;
$custom-dark: #000000;
JSON
{
  "hex": "#223e84",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 132
  },
  "hsl": {
    "h": 222.857,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3846,
    "c": 0.1226,
    "h": 264.8
  },
  "luminance": 0.05451
}

Semantic roles & 50–950 ramp

primary
#223E84
secondary
#B5974D
accent
#B546E2
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #223E84

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

Preview Lab → · Contrast checker → · Palette generator →

#223E84 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva