#223D9E#223D9E

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

Color values

HEX#223D9E
RGBrgb(34, 61, 158)
HSLhsl(227, 65%, 38%)
HSVhsv(227, 78%, 62%)
CMYKcmyk(78.5%, 61.4%, 0%, 38%)
CIE-LABlab(29.78, 26.27, -55.53)
CIE-LCHlch(29.78, 61.43, 295.32°)
OKLaboklab(40.46% -0.0088 -0.1605)
OKLCHoklch(40.46% 0.161 266.8)
XYZxyz(8.4978, 6.1452, 33.0794)
Luminance0.0615 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223D9E #9E8322
analogous
#227B9E #223D9E #45229E
triadic
#223D9E #9E223D #3D9E22
tetradic
#223D9E #9E227B #9E8322 #229E45
square
#223D9E #9E227B #9E8322 #229E45
split-complementary
#223D9E #9E4522 #7B9E22
monochromatic
#0C1639 #172A6C #223D9E #2D50D0 #5E7ADC

Accessibility & contrast

On white

9.42
#223D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#223D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223D9E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223D9E#FFFFFF#000000##FFFFFF
##223D9E1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223d9e;
/* rgb */ color: rgb(34, 61, 158);
/* oklch */ color: oklch(40.5% 0.161 266.8);
Tailwind
colors: {
  custom: {
    50: '#7272bb',
    500: '#223d9e',
    950: '#000000',
  },
}
SCSS
$custom: #223d9e;
$custom-light: #7272bb;
$custom-dark: #000000;
JSON
{
  "hex": "#223d9e",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 158
  },
  "hsl": {
    "h": 226.935,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4046,
    "c": 0.16073,
    "h": 266.8
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#223D9E
secondary
#C1AB5B
accent
#C340E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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