#223071#223071

#223071 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.8% C 0.113 H 270.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#223071
RGBrgb(34, 48, 113)
HSLhsl(229, 54%, 29%)
HSVhsv(229, 70%, 44%)
CMYKcmyk(69.9%, 57.5%, 0%, 55.7%)
CIE-LABlab(22.46, 17.68, -39.39)
CIE-LCHlch(22.46, 43.18, 294.17°)
OKLaboklab(33.83% 0.0002 -0.1133)
OKLCHoklch(33.83% 0.113 270.1)
XYZxyz(4.6963, 3.6458, 16.0758)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223071 #716322
analogous
#225871 #223071 #3C2271
triadic
#223071 #712230 #307122
tetradic
#223071 #712258 #716322 #22713C
square
#223071 #712258 #716322 #22713C
split-complementary
#223071 #713C22 #587122
monochromatic
#070A18 #141C42 #223071 #3044A0 #465DC7

Accessibility & contrast

On white

12.14
#223071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#223071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223071
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223071#FFFFFF#000000##FFFFFF
##2230711.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #223071;
/* rgb */ color: rgb(34, 48, 113);
/* oklch */ color: oklch(33.8% 0.113 270.1);
Tailwind
colors: {
  custom: {
    50: '#67689a',
    500: '#223071',
    950: '#000000',
  },
}
SCSS
$custom: #223071;
$custom-light: #67689a;
$custom-dark: #000000;
JSON
{
  "hex": "#223071",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 229.367,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33829,
    "c": 0.11326,
    "h": 270.1
  },
  "luminance": 0.03646
}

Semantic roles & 50–950 ramp

primary
#223071
secondary
#A4944A
accent
#C34BDD
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #223071

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

Preview Lab → · Contrast checker → · Palette generator →

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