#223C9A#223C9A

#223C9A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.157 H 267.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#223C9A
RGBrgb(34, 60, 154)
HSLhsl(227, 64%, 37%)
HSVhsv(227, 78%, 60%)
CMYKcmyk(77.9%, 61%, 0%, 39.6%)
CIE-LABlab(29.17, 25.39, -54.09)
CIE-LCHlch(29.17, 59.75, 295.15°)
OKLaboklab(39.9% -0.0082 -0.1563)
OKLCHoklch(39.9% 0.157 267)
XYZxyz(8.1062, 5.9040, 31.2779)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C9A #9A8022
analogous
#22789A #223C9A #44229A
triadic
#223C9A #9A223C #3C9A22
tetradic
#223C9A #9A2278 #9A8022 #229A44
square
#223C9A #9A2278 #9A8022 #229A44
split-complementary
#223C9A #9A4422 #789A22
monochromatic
#0C1536 #172868 #223C9A #2D50CC #5B77DB

Accessibility & contrast

On white

9.63
#223C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#223C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C9A
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C9A#FFFFFF#000000##FFFFFF
##223C9A1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223c9a;
/* rgb */ color: rgb(34, 60, 154);
/* oklch */ color: oklch(39.9% 0.157 267.0);
Tailwind
colors: {
  custom: {
    50: '#7171b9',
    500: '#223c9a',
    950: '#000000',
  },
}
SCSS
$custom: #223c9a;
$custom-light: #7171b9;
$custom-dark: #000000;
JSON
{
  "hex": "#223c9a",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 154
  },
  "hsl": {
    "h": 227,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39902,
    "c": 0.1565,
    "h": 267
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#223C9A
secondary
#BFA958
accent
#C341E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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