#223973#223973

#223973 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.104 H 265.3°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#223973
RGBrgb(34, 57, 115)
HSLhsl(223, 54%, 29%)
HSVhsv(223, 70%, 45%)
CMYKcmyk(70.4%, 50.4%, 0%, 54.9%)
CIE-LABlab(25.27, 12.12, -36.14)
CIE-LCHlch(25.27, 38.11, 288.54°)
OKLaboklab(36% -0.0086 -0.1035)
OKLCHoklch(36% 0.104 265.3)
XYZxyz(5.2162, 4.5036, 16.8107)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223973 #735C22
analogous
#226273 #223973 #342273
triadic
#223973 #732239 #397322
tetradic
#223973 #732262 #735C22 #227334
square
#223973 #732262 #735C22 #227334
split-complementary
#223973 #733422 #627322
monochromatic
#070C18 #142244 #223973 #3050A2 #476CC9

Accessibility & contrast

On white

11.05
#223973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#223973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223973
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223973#FFFFFF#000000##FFFFFF
##2239731.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4075
Deuteranopia (green-blind)
#073872
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223973;
/* rgb */ color: rgb(34, 57, 115);
/* oklch */ color: oklch(36.0% 0.104 265.3);
Tailwind
colors: {
  custom: {
    50: '#676e9c',
    500: '#223973',
    950: '#000000',
  },
}
SCSS
$custom: #223973;
$custom-light: #676e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#223973",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 115
  },
  "hsl": {
    "h": 222.963,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36003,
    "c": 0.1039,
    "h": 265.3
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#223973
secondary
#A68C4B
accent
#B44ADE
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223973

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

Preview Lab → · Contrast checker → · Palette generator →

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