#223C97#223C97

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

Color values

HEX#223C97
RGBrgb(34, 60, 151)
HSLhsl(227, 63%, 36%)
HSVhsv(227, 77%, 59%)
CMYKcmyk(77.5%, 60.3%, 0%, 40.8%)
CIE-LABlab(28.92, 24.23, -52.67)
CIE-LCHlch(28.92, 57.98, 294.70°)
OKLaboklab(39.63% -0.0083 -0.1521)
OKLCHoklch(39.63% 0.152 266.9)
XYZxyz(7.8595, 5.8053, 29.9785)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223C97 #977D22
analogous
#227797 #223C97 #432297
triadic
#223C97 #97223C #3C9722
tetradic
#223C97 #972277 #977D22 #229743
square
#223C97 #972277 #977D22 #229743
split-complementary
#223C97 #974322 #779722
monochromatic
#0C1433 #172865 #223C97 #2D50C9 #5A76DA

Accessibility & contrast

On white

9.72
#223C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#223C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223C97
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223C97#FFFFFF#000000##FFFFFF
##223C971.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223c97;
/* rgb */ color: rgb(34, 60, 151);
/* oklch */ color: oklch(39.6% 0.152 266.9);
Tailwind
colors: {
  custom: {
    50: '#7071b6',
    500: '#223c97',
    950: '#000000',
  },
}
SCSS
$custom: #223c97;
$custom-light: #7071b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223c97",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 151
  },
  "hsl": {
    "h": 226.667,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.15234,
    "h": 266.9
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#223C97
secondary
#BEA757
accent
#C242E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223C97

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

Preview Lab → · Contrast checker → · Palette generator →

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