#223D96#223D96

#223D96 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.150 H 266.5°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#223D96
RGBrgb(34, 61, 150)
HSLhsl(226, 63%, 36%)
HSVhsv(226, 77%, 59%)
CMYKcmyk(77.3%, 59.3%, 0%, 41.2%)
CIE-LABlab(29.10, 23.16, -51.75)
CIE-LCHlch(29.10, 56.70, 294.11°)
OKLaboklab(39.75% -0.009 -0.1494)
OKLCHoklch(39.75% 0.15 266.5)
XYZxyz(7.8315, 5.8787, 29.5702)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D96 #967B22
analogous
#227796 #223D96 #412296
triadic
#223D96 #96223D #3D9622
tetradic
#223D96 #962277 #967B22 #229641
square
#223D96 #962277 #967B22 #229641
split-complementary
#223D96 #964122 #779622
monochromatic
#0B1432 #172964 #223D96 #2D51C8 #5977D9

Accessibility & contrast

On white

9.65
#223D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D96
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D96#FFFFFF#000000##FFFFFF
##223D961.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223d96;
/* rgb */ color: rgb(34, 61, 150);
/* oklch */ color: oklch(39.7% 0.150 266.5);
Tailwind
colors: {
  custom: {
    50: '#7072b6',
    500: '#223d96',
    950: '#000000',
  },
}
SCSS
$custom: #223d96;
$custom-light: #7072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223d96",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 150
  },
  "hsl": {
    "h": 226.034,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39749,
    "c": 0.14968,
    "h": 266.5
  },
  "luminance": 0.0588
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223D96

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

Preview Lab → · Contrast checker → · Palette generator →

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