#223D97#223D97

#223D97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.151 H 266.6°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#223D97
RGBrgb(34, 61, 151)
HSLhsl(226, 63%, 36%)
HSVhsv(226, 77%, 59%)
CMYKcmyk(77.5%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.19, 23.55, -52.23)
CIE-LCHlch(29.19, 57.29, 294.27°)
OKLaboklab(39.84% -0.009 -0.1508)
OKLCHoklch(39.84% 0.151 266.6)
XYZxyz(7.9124, 5.9111, 29.9961)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D97 #977C22
analogous
#227897 #223D97 #422297
triadic
#223D97 #97223D #3D9722
tetradic
#223D97 #972278 #977C22 #229742
square
#223D97 #972278 #977C22 #229742
split-complementary
#223D97 #974222 #789722
monochromatic
#0C1533 #172965 #223D97 #2D51C9 #5A77DA

Accessibility & contrast

On white

9.62
#223D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D97
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D97#FFFFFF#000000##FFFFFF
##223D971.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223d97;
/* rgb */ color: rgb(34, 61, 151);
/* oklch */ color: oklch(39.8% 0.151 266.6);
Tailwind
colors: {
  custom: {
    50: '#7072b6',
    500: '#223d97',
    950: '#000000',
  },
}
SCSS
$custom: #223d97;
$custom-light: #7072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223d97",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 226.154,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39837,
    "c": 0.15108,
    "h": 266.6
  },
  "luminance": 0.05912
}

Semantic roles & 50–950 ramp

primary
#223D97
secondary
#BEA657
accent
#C042E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223D97

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

Preview Lab → · Contrast checker → · Palette generator →

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