#223170#223170

#223170 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.110 H 269.6°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#223170
RGBrgb(34, 49, 112)
HSLhsl(228, 53%, 29%)
HSVhsv(228, 70%, 44%)
CMYKcmyk(69.6%, 56.3%, 0%, 56.1%)
CIE-LABlab(22.68, 16.58, -38.41)
CIE-LCHlch(22.68, 41.83, 293.35°)
OKLaboklab(33.96% -0.0008 -0.1104)
OKLCHoklch(33.96% 0.11 269.6)
XYZxyz(4.6816, 3.7061, 15.7947)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223170 #706122
analogous
#225870 #223170 #3A2270
triadic
#223170 #702231 #317022
tetradic
#223170 #702258 #706122 #22703A
square
#223170 #702258 #706122 #22703A
split-complementary
#223170 #703A22 #587022
monochromatic
#070A17 #141C41 #223170 #30469F #465EC7

Accessibility & contrast

On white

12.06
#223170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#223170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223170
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223170#FFFFFF#000000##FFFFFF
##2231701.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053A72
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #223170;
/* rgb */ color: rgb(34, 49, 112);
/* oklch */ color: oklch(34.0% 0.110 269.6);
Tailwind
colors: {
  custom: {
    50: '#67689a',
    500: '#223170',
    950: '#000000',
  },
}
SCSS
$custom: #223170;
$custom-light: #67689a;
$custom-dark: #000000;
JSON
{
  "hex": "#223170",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 228.462,
    "s": 53.425,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33963,
    "c": 0.11036,
    "h": 269.6
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#223170
secondary
#A3924A
accent
#C14BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223170

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

Preview Lab → · Contrast checker → · Palette generator →

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