#223D9D#223D9D

#223D9D is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.159 H 266.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#223D9D
RGBrgb(34, 61, 157)
HSLhsl(227, 64%, 37%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(78.3%, 61.1%, 0%, 38.4%)
CIE-LABlab(29.69, 25.88, -55.06)
CIE-LCHlch(29.69, 60.84, 295.18°)
OKLaboklab(40.37% -0.0088 -0.1591)
OKLCHoklch(40.37% 0.159 266.8)
XYZxyz(8.4121, 6.1109, 32.6279)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D9D #9D8222
analogous
#227B9D #223D9D #44229D
triadic
#223D9D #9D223D #3D9D22
tetradic
#223D9D #9D227B #9D8222 #229D44
square
#223D9D #9D227B #9D8222 #229D44
split-complementary
#223D9D #9D4422 #7B9D22
monochromatic
#0C1638 #17296B #223D9D #2D51CF #5D79DC

Accessibility & contrast

On white

9.45
#223D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#223D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D9D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D9D#FFFFFF#000000##FFFFFF
##223D9D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223d9d;
/* rgb */ color: rgb(34, 61, 157);
/* oklch */ color: oklch(40.4% 0.159 266.8);
Tailwind
colors: {
  custom: {
    50: '#7172bb',
    500: '#223d9d',
    950: '#000000',
  },
}
SCSS
$custom: #223d9d;
$custom-light: #7172bb;
$custom-dark: #000000;
JSON
{
  "hex": "#223d9d",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 157
  },
  "hsl": {
    "h": 226.829,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4037,
    "c": 0.15937,
    "h": 266.8
  },
  "luminance": 0.06112
}

Semantic roles & 50–950 ramp

primary
#223D9D
secondary
#C1AA5A
accent
#C340E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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