#223D9A#223D9A

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

Color values

HEX#223D9A
RGBrgb(34, 61, 154)
HSLhsl(227, 64%, 37%)
HSVhsv(227, 78%, 60%)
CMYKcmyk(77.9%, 60.4%, 0%, 39.6%)
CIE-LABlab(29.44, 24.72, -53.65)
CIE-LCHlch(29.44, 59.07, 294.74°)
OKLaboklab(40.1% -0.0089 -0.155)
OKLCHoklch(40.1% 0.155 266.7)
XYZxyz(8.1591, 6.0097, 31.2956)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D9A #9A7F22
analogous
#22799A #223D9A #43229A
triadic
#223D9A #9A223D #3D9A22
tetradic
#223D9A #9A2279 #9A7F22 #229A43
square
#223D9A #9A2279 #9A7F22 #229A43
split-complementary
#223D9A #9A4322 #799A22
monochromatic
#0C1536 #172968 #223D9A #2D51CC #5B78DB

Accessibility & contrast

On white

9.54
#223D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223D9A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D9A#FFFFFF#000000##FFFFFF
##223D9A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223d9a;
/* rgb */ color: rgb(34, 61, 154);
/* oklch */ color: oklch(40.1% 0.155 266.7);
Tailwind
colors: {
  custom: {
    50: '#7172b9',
    500: '#223d9a',
    950: '#000000',
  },
}
SCSS
$custom: #223d9a;
$custom-light: #7172b9;
$custom-dark: #000000;
JSON
{
  "hex": "#223d9a",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 226.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40102,
    "c": 0.15524,
    "h": 266.7
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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