#223C9D#223C9D

#223C9D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.161 H 267.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#223C9D
RGBrgb(34, 60, 157)
HSLhsl(227, 64%, 37%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(78.3%, 61.8%, 0%, 38.4%)
CIE-LABlab(29.43, 26.55, -55.49)
CIE-LCHlch(29.43, 61.52, 295.57°)
OKLaboklab(40.17% -0.0082 -0.1604)
OKLCHoklch(40.17% 0.161 267.1)
XYZxyz(8.3592, 6.0052, 32.6103)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C9D #9D8322
analogous
#227A9D #223C9D #45229D
triadic
#223C9D #9D223C #3C9D22
tetradic
#223C9D #9D227A #9D8322 #229D45
square
#223C9D #9D227A #9D8322 #229D45
split-complementary
#223C9D #9D4522 #7A9D22
monochromatic
#0C1638 #17296B #223C9D #2D4FCF #5D78DC

Accessibility & contrast

On white

9.54
#223C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#223C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C9D
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C9D#FFFFFF#000000##FFFFFF
##223C9D1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223c9d;
/* rgb */ color: rgb(34, 60, 157);
/* oklch */ color: oklch(40.2% 0.161 267.1);
Tailwind
colors: {
  custom: {
    50: '#7171bb',
    500: '#223c9d',
    950: '#000000',
  },
}
SCSS
$custom: #223c9d;
$custom-light: #7171bb;
$custom-dark: #000000;
JSON
{
  "hex": "#223c9d",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 157
  },
  "hsl": {
    "h": 227.317,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40172,
    "c": 0.16061,
    "h": 267.1
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#223C9D
secondary
#C1AB5A
accent
#C440E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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