#223372#223372

#223372 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.111 H 268.6°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#223372
RGBrgb(34, 51, 114)
HSLhsl(227, 54%, 29%)
HSVhsv(227, 70%, 45%)
CMYKcmyk(70.2%, 55.3%, 0%, 55.3%)
CIE-LABlab(23.41, 15.95, -38.49)
CIE-LCHlch(23.41, 41.67, 292.51°)
OKLaboklab(34.57% -0.0026 -0.1106)
OKLCHoklch(34.57% 0.111 268.6)
XYZxyz(4.8797, 3.9222, 16.4162)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223372 #726122
analogous
#225B72 #223372 #392272
triadic
#223372 #722233 #337222
tetradic
#223372 #72225B #726122 #227239
square
#223372 #72225B #726122 #227239
split-complementary
#223372 #723922 #5B7222
monochromatic
#070B18 #141E43 #223372 #3048A1 #4662C8

Accessibility & contrast

On white

11.77
#223372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#223372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223372
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223372#FFFFFF#000000##FFFFFF
##2233721.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093C74
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223372;
/* rgb */ color: rgb(34, 51, 114);
/* oklch */ color: oklch(34.6% 0.111 268.6);
Tailwind
colors: {
  custom: {
    50: '#686a9b',
    500: '#223372',
    950: '#000000',
  },
}
SCSS
$custom: #223372;
$custom-light: #686a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#223372",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 227.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34568,
    "c": 0.11062,
    "h": 268.6
  },
  "luminance": 0.03923
}

Semantic roles & 50–950 ramp

primary
#223372
secondary
#A5924B
accent
#BE4ADD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223372

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

Preview Lab → · Contrast checker → · Palette generator →

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