#223169#223169

#223169 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.4% C 0.100 H 269.1°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#223169
RGBrgb(34, 49, 105)
HSLhsl(227, 51%, 27%)
HSVhsv(227, 68%, 41%)
CMYKcmyk(67.6%, 53.3%, 0%, 58.8%)
CIE-LABlab(22.15, 13.83, -34.74)
CIE-LCHlch(22.15, 37.40, 291.71°)
OKLaboklab(33.4% -0.0015 -0.0996)
OKLCHoklch(33.4% 0.1 269.1)
XYZxyz(4.3069, 3.5562, 13.8213)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223169 #695A22
analogous
#225569 #223169 #372269
triadic
#223169 #692231 #316922
tetradic
#223169 #692255 #695A22 #226937
square
#223169 #692255 #695A22 #226937
split-complementary
#223169 #693722 #556922
monochromatic
#070B17 #131B3B #223169 #314797 #435EC2

Accessibility & contrast

On white

12.27
#223169 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#223169 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223169
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223169#FFFFFF#000000##FFFFFF
##2231691.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11386B
Deuteranopia (green-blind)
#003268
Tritanopia (blue-blind)
#003E48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #223169;
/* rgb */ color: rgb(34, 49, 105);
/* oklch */ color: oklch(33.4% 0.100 269.1);
Tailwind
colors: {
  custom: {
    50: '#666894',
    500: '#223169',
    950: '#000000',
  },
}
SCSS
$custom: #223169;
$custom-light: #666894;
$custom-dark: #000000;
JSON
{
  "hex": "#223169",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 105
  },
  "hsl": {
    "h": 227.324,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33395,
    "c": 0.09959,
    "h": 269.1
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#223169
secondary
#9D8B4A
accent
#BD4DDB
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #223169

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

Preview Lab → · Contrast checker → · Palette generator →

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