#223571#223571

#223571 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.106 H 267.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#223571
RGBrgb(34, 53, 113)
HSLhsl(226, 54%, 29%)
HSVhsv(226, 70%, 44%)
CMYKcmyk(69.9%, 53.1%, 0%, 55.7%)
CIE-LABlab(23.93, 14.14, -37.02)
CIE-LCHlch(23.93, 39.63, 290.91°)
OKLaboklab(34.94% -0.0047 -0.1062)
OKLCHoklch(34.94% 0.106 267.4)
XYZxyz(4.9124, 4.0781, 16.1478)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223571 #715E22
analogous
#225D71 #223571 #372271
triadic
#223571 #712235 #357122
tetradic
#223571 #71225D #715E22 #227137
square
#223571 #71225D #715E22 #227137
split-complementary
#223571 #713722 #5D7122
monochromatic
#070B18 #141F42 #223571 #304BA0 #4665C7

Accessibility & contrast

On white

11.57
#223571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#223571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223571
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223571#FFFFFF#000000##FFFFFF
##2235711.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #223571;
/* rgb */ color: rgb(34, 53, 113);
/* oklch */ color: oklch(34.9% 0.106 267.4);
Tailwind
colors: {
  custom: {
    50: '#676b9a',
    500: '#223571',
    950: '#000000',
  },
}
SCSS
$custom: #223571;
$custom-light: #676b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#223571",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 113
  },
  "hsl": {
    "h": 225.57,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34935,
    "c": 0.10633,
    "h": 267.4
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#223571
secondary
#A48F4A
accent
#BA4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223571

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

Preview Lab → · Contrast checker → · Palette generator →

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