#223C9E#223C9E

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

Color values

HEX#223C9E
RGBrgb(34, 60, 158)
HSLhsl(227, 65%, 38%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(78.5%, 62%, 0%, 38%)
CIE-LABlab(29.51, 26.94, -55.96)
CIE-LCHlch(29.51, 62.10, 295.71°)
OKLaboklab(40.26% -0.0082 -0.1618)
OKLCHoklch(40.26% 0.162 267.1)
XYZxyz(8.4449, 6.0395, 33.0618)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C9E #9E8422
analogous
#227A9E #223C9E #46229E
triadic
#223C9E #9E223C #3C9E22
tetradic
#223C9E #9E227A #9E8422 #229E46
square
#223C9E #9E227A #9E8422 #229E46
split-complementary
#223C9E #9E4622 #7A9E22
monochromatic
#0C1639 #17296C #223C9E #2D4FD0 #5E79DC

Accessibility & contrast

On white

9.51
#223C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#223C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C9E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C9E#FFFFFF#000000##FFFFFF
##223C9E1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223c9e;
/* rgb */ color: rgb(34, 60, 158);
/* oklch */ color: oklch(40.3% 0.162 267.1);
Tailwind
colors: {
  custom: {
    50: '#7271bc',
    500: '#223c9e',
    950: '#000000',
  },
}
SCSS
$custom: #223c9e;
$custom-light: #7271bc;
$custom-dark: #000000;
JSON
{
  "hex": "#223c9e",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 158
  },
  "hsl": {
    "h": 227.419,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40263,
    "c": 0.16198,
    "h": 267.1
  },
  "luminance": 0.0604
}

Semantic roles & 50–950 ramp

primary
#223C9E
secondary
#C1AC5B
accent
#C440E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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