#223C9C#223C9C

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

Color values

HEX#223C9C
RGBrgb(34, 60, 156)
HSLhsl(227, 64%, 37%)
HSVhsv(227, 78%, 61%)
CMYKcmyk(78.2%, 61.5%, 0%, 38.8%)
CIE-LABlab(29.34, 26.17, -55.02)
CIE-LCHlch(29.34, 60.93, 295.43°)
OKLaboklab(40.08% -0.0082 -0.159)
OKLCHoklch(40.08% 0.159 267.1)
XYZxyz(8.2742, 5.9712, 32.1625)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C9C #9C8222
analogous
#22799C #223C9C #45229C
triadic
#223C9C #9C223C #3C9C22
tetradic
#223C9C #9C2279 #9C8222 #229C45
square
#223C9C #9C2279 #9C8222 #229C45
split-complementary
#223C9C #9C4522 #799C22
monochromatic
#0C1538 #17296A #223C9C #2D4FCE #5D78DC

Accessibility & contrast

On white

9.57
#223C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#223C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C9C
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C9C#FFFFFF#000000##FFFFFF
##223C9C1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223c9c;
/* rgb */ color: rgb(34, 60, 156);
/* oklch */ color: oklch(40.1% 0.159 267.1);
Tailwind
colors: {
  custom: {
    50: '#7171ba',
    500: '#223c9c',
    950: '#000000',
  },
}
SCSS
$custom: #223c9c;
$custom-light: #7171ba;
$custom-dark: #000000;
JSON
{
  "hex": "#223c9c",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 156
  },
  "hsl": {
    "h": 227.213,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40082,
    "c": 0.15924,
    "h": 267.1
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#223C9C
secondary
#C0AA5A
accent
#C441E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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