#223D99#223D99

#223D99 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.154 H 266.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#223D99
RGBrgb(34, 61, 153)
HSLhsl(226, 64%, 37%)
HSVhsv(226, 78%, 60%)
CMYKcmyk(77.8%, 60.1%, 0%, 40%)
CIE-LABlab(29.35, 24.33, -53.18)
CIE-LCHlch(29.35, 58.48, 294.58°)
OKLaboklab(40.01% -0.0089 -0.1536)
OKLCHoklch(40.01% 0.154 266.7)
XYZxyz(8.0762, 5.9766, 30.8588)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D99 #997E22
analogous
#227999 #223D99 #432299
triadic
#223D99 #99223D #3D9922
tetradic
#223D99 #992279 #997E22 #229943
square
#223D99 #992279 #997E22 #229943
split-complementary
#223D99 #994322 #799922
monochromatic
#0C1535 #172967 #223D99 #2D51CB #5B78DB

Accessibility & contrast

On white

9.57
#223D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#223D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D99
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D99#FFFFFF#000000##FFFFFF
##223D991.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223d99;
/* rgb */ color: rgb(34, 61, 153);
/* oklch */ color: oklch(40.0% 0.154 266.7);
Tailwind
colors: {
  custom: {
    50: '#7072b8',
    500: '#223d99',
    950: '#000000',
  },
}
SCSS
$custom: #223d99;
$custom-light: #7072b8;
$custom-dark: #000000;
JSON
{
  "hex": "#223d99",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 153
  },
  "hsl": {
    "h": 226.387,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40013,
    "c": 0.15385,
    "h": 266.7
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#223D99
secondary
#BFA858
accent
#C141E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223D99

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

Preview Lab → · Contrast checker → · Palette generator →

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