#223671#223671

#223671 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.2% C 0.105 H 266.9°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#223671
RGBrgb(34, 54, 113)
HSLhsl(225, 54%, 29%)
HSVhsv(225, 70%, 44%)
CMYKcmyk(69.9%, 52.2%, 0%, 55.7%)
CIE-LABlab(24.23, 13.44, -36.54)
CIE-LCHlch(24.23, 38.93, 290.19°)
OKLaboklab(35.16% -0.0058 -0.1048)
OKLCHoklch(35.16% 0.105 266.9)
XYZxyz(4.9585, 4.1702, 16.1632)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223671 #715D22
analogous
#225E71 #223671 #362271
triadic
#223671 #712236 #367122
tetradic
#223671 #71225E #715D22 #227136
square
#223671 #71225E #715D22 #227136
split-complementary
#223671 #713622 #5E7122
monochromatic
#070B18 #142042 #223671 #304CA0 #4667C7

Accessibility & contrast

On white

11.45
#223671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#223671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223671
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223671#FFFFFF#000000##FFFFFF
##2236711.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#003670
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223671;
/* rgb */ color: rgb(34, 54, 113);
/* oklch */ color: oklch(35.2% 0.105 266.9);
Tailwind
colors: {
  custom: {
    50: '#676c9a',
    500: '#223671',
    950: '#000000',
  },
}
SCSS
$custom: #223671;
$custom-light: #676c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#223671",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 113
  },
  "hsl": {
    "h": 224.81,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35161,
    "c": 0.10495,
    "h": 266.9
  },
  "luminance": 0.04171
}

Semantic roles & 50–950 ramp

primary
#223671
secondary
#A48E4A
accent
#B84BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #223671

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

Preview Lab → · Contrast checker → · Palette generator →

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