#223373#223373

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

Color values

HEX#223373
RGBrgb(34, 51, 115)
HSLhsl(227, 54%, 29%)
HSVhsv(227, 70%, 45%)
CMYKcmyk(70.4%, 55.7%, 0%, 54.9%)
CIE-LABlab(23.49, 16.35, -39.01)
CIE-LCHlch(23.49, 42.30, 292.73°)
OKLaboklab(34.65% -0.0026 -0.1121)
OKLCHoklch(34.65% 0.112 268.7)
XYZxyz(4.9370, 3.9451, 16.7176)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223373 #736222
analogous
#225C73 #223373 #3A2273
triadic
#223373 #732233 #337322
tetradic
#223373 #73225C #736222 #22733A
square
#223373 #73225C #736222 #22733A
split-complementary
#223373 #733A22 #5C7322
monochromatic
#070A18 #141E44 #223373 #3048A2 #4762C9

Accessibility & contrast

On white

11.74
#223373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#223373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223373
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223373#FFFFFF#000000##FFFFFF
##2233731.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223373;
/* rgb */ color: rgb(34, 51, 115);
/* oklch */ color: oklch(34.6% 0.112 268.7);
Tailwind
colors: {
  custom: {
    50: '#686a9c',
    500: '#223373',
    950: '#000000',
  },
}
SCSS
$custom: #223373;
$custom-light: #686a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#223373",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 227.407,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3465,
    "c": 0.11213,
    "h": 268.7
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#223373
secondary
#A6934B
accent
#BF4ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223373

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

Preview Lab → · Contrast checker → · Palette generator →

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