#223173#223173

#223173 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.115 H 269.7°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#223173
RGBrgb(34, 49, 115)
HSLhsl(229, 54%, 29%)
HSVhsv(229, 70%, 45%)
CMYKcmyk(70.4%, 57.4%, 0%, 54.9%)
CIE-LABlab(22.91, 17.76, -39.95)
CIE-LCHlch(22.91, 43.72, 293.97°)
OKLaboklab(34.21% -0.0006 -0.1149)
OKLCHoklch(34.21% 0.115 269.7)
XYZxyz(4.8515, 3.7741, 16.6891)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223173 #736422
analogous
#225A73 #223173 #3C2273
triadic
#223173 #732231 #317322
tetradic
#223173 #73225A #736422 #22733C
square
#223173 #73225A #736422 #22733C
split-complementary
#223173 #733C22 #5A7322
monochromatic
#070A18 #141D44 #223173 #3045A2 #475FC9

Accessibility & contrast

On white

11.97
#223173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#223173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223173
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223173#FFFFFF#000000##FFFFFF
##2231731.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #223173;
/* rgb */ color: rgb(34, 49, 115);
/* oklch */ color: oklch(34.2% 0.115 269.7);
Tailwind
colors: {
  custom: {
    50: '#68689c',
    500: '#223173',
    950: '#000000',
  },
}
SCSS
$custom: #223173;
$custom-light: #68689c;
$custom-dark: #000000;
JSON
{
  "hex": "#223173",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 228.889,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34214,
    "c": 0.11489,
    "h": 269.7
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#223173
secondary
#A6954B
accent
#C24ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223173

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

Preview Lab → · Contrast checker → · Palette generator →

#223173 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva