#223971#223971

#223971 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.9% C 0.101 H 265.0°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#223971
RGBrgb(34, 57, 113)
HSLhsl(223, 54%, 29%)
HSVhsv(223, 70%, 44%)
CMYKcmyk(69.9%, 49.6%, 0%, 55.7%)
CIE-LABlab(25.13, 11.33, -35.09)
CIE-LCHlch(25.13, 36.87, 287.89°)
OKLaboklab(35.85% -0.0089 -0.1005)
OKLCHoklch(35.85% 0.101 265)
XYZxyz(5.1024, 4.4581, 16.2112)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223971 #715A22
analogous
#226171 #223971 #332271
triadic
#223971 #712239 #397122
tetradic
#223971 #712261 #715A22 #227133
square
#223971 #712261 #715A22 #227133
split-complementary
#223971 #713322 #617122
monochromatic
#070C18 #142142 #223971 #3051A0 #466CC7

Accessibility & contrast

On white

11.10
#223971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#223971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223971
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223971#FFFFFF#000000##FFFFFF
##2239711.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3F73
Deuteranopia (green-blind)
#0B3870
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223971;
/* rgb */ color: rgb(34, 57, 113);
/* oklch */ color: oklch(35.9% 0.101 265.0);
Tailwind
colors: {
  custom: {
    50: '#676e9a',
    500: '#223971',
    950: '#000000',
  },
}
SCSS
$custom: #223971;
$custom-light: #676e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#223971",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 222.532,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35852,
    "c": 0.10085,
    "h": 265
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#223971
secondary
#A48A4A
accent
#B24BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #223971

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

Preview Lab → · Contrast checker → · Palette generator →

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