#223C96#223C96

#223C96 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.151 H 266.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#223C96
RGBrgb(34, 60, 150)
HSLhsl(227, 63%, 36%)
HSVhsv(227, 77%, 59%)
CMYKcmyk(77.3%, 60%, 0%, 41.2%)
CIE-LABlab(28.83, 23.84, -52.19)
CIE-LCHlch(28.83, 57.38, 294.55°)
OKLaboklab(39.55% -0.0083 -0.1507)
OKLCHoklch(39.55% 0.151 266.9)
XYZxyz(7.7786, 5.7729, 29.5526)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C96 #967C22
analogous
#227696 #223C96 #422296
triadic
#223C96 #96223C #3C9622
tetradic
#223C96 #962276 #967C22 #229642
square
#223C96 #962276 #967C22 #229642
split-complementary
#223C96 #964222 #769622
monochromatic
#0B1432 #172864 #223C96 #2D50C8 #5976D9

Accessibility & contrast

On white

9.75
#223C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#223C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C96
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C96#FFFFFF#000000##FFFFFF
##223C961.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#003F94
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #223c96;
/* rgb */ color: rgb(34, 60, 150);
/* oklch */ color: oklch(39.5% 0.151 266.9);
Tailwind
colors: {
  custom: {
    50: '#7071b6',
    500: '#223c96',
    950: '#000000',
  },
}
SCSS
$custom: #223c96;
$custom-light: #7071b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223c96",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 150
  },
  "hsl": {
    "h": 226.552,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39546,
    "c": 0.15095,
    "h": 266.9
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#223C96
secondary
#BEA656
accent
#C142E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223C96

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

Preview Lab → · Contrast checker → · Palette generator →

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