#223471#223471

#223471 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.108 H 268.0°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#223471
RGBrgb(34, 52, 113)
HSLhsl(226, 54%, 29%)
HSVhsv(226, 70%, 44%)
CMYKcmyk(69.9%, 54%, 0%, 55.7%)
CIE-LABlab(23.63, 14.85, -37.50)
CIE-LCHlch(23.63, 40.33, 291.60°)
OKLaboklab(34.71% -0.0037 -0.1076)
OKLCHoklch(34.71% 0.108 268)
XYZxyz(4.8673, 3.9879, 16.1328)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223471 #715F22
analogous
#225C71 #223471 #382271
triadic
#223471 #712234 #347122
tetradic
#223471 #71225C #715F22 #227138
square
#223471 #71225C #715F22 #227138
split-complementary
#223471 #713822 #5C7122
monochromatic
#070B18 #141E42 #223471 #304AA0 #4664C7

Accessibility & contrast

On white

11.68
#223471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#223471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223471
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223471#FFFFFF#000000##FFFFFF
##2234711.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #223471;
/* rgb */ color: rgb(34, 52, 113);
/* oklch */ color: oklch(34.7% 0.108 268.0);
Tailwind
colors: {
  custom: {
    50: '#676b9a',
    500: '#223471',
    950: '#000000',
  },
}
SCSS
$custom: #223471;
$custom-light: #676b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#223471",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 113
  },
  "hsl": {
    "h": 226.329,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3471,
    "c": 0.10771,
    "h": 268
  },
  "luminance": 0.03988
}

Semantic roles & 50–950 ramp

primary
#223471
secondary
#A4904A
accent
#BC4BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223471

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

Preview Lab → · Contrast checker → · Palette generator →

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