#223159#223159

#223159 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.074 H 266.8°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#223159
RGBrgb(34, 49, 89)
HSLhsl(224, 45%, 24%)
HSVhsv(224, 62%, 35%)
CMYKcmyk(61.8%, 44.9%, 0%, 65.1%)
CIE-LABlab(21.05, 7.61, -26.03)
CIE-LCHlch(21.05, 27.12, 286.30°)
OKLaboklab(32.2% -0.0042 -0.074)
OKLCHoklch(32.2% 0.074 266.8)
XYZxyz(3.5606, 3.2577, 9.8904)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223159 #594A22
analogous
#224D59 #223159 #2F2259
triadic
#223159 #592231 #315922
tetradic
#223159 #59224D #594A22 #22592F
square
#223159 #59224D #594A22 #22592F
split-complementary
#223159 #592F22 #4D5922
monochromatic
#080C16 #11192D #223159 #334985 #4462B2

Accessibility & contrast

On white

12.71
#223159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#223159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223159
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223159#FFFFFF#000000##FFFFFF
##2231591.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20355B
Deuteranopia (green-blind)
#193058
Tritanopia (blue-blind)
#003A40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #223159;
/* rgb */ color: rgb(34, 49, 89);
/* oklch */ color: oklch(32.2% 0.074 266.8);
Tailwind
colors: {
  custom: {
    50: '#626888',
    500: '#223159',
    950: '#000000',
  },
}
SCSS
$custom: #223159;
$custom-light: #626888;
$custom-dark: #000000;
JSON
{
  "hex": "#223159",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 89
  },
  "hsl": {
    "h": 223.636,
    "s": 44.715,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32202,
    "c": 0.0741,
    "h": 266.8
  },
  "luminance": 0.03258
}

Semantic roles & 50–950 ramp

primary
#223159
secondary
#8D7B4A
accent
#B153D4
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #223159

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

Preview Lab → · Contrast checker → · Palette generator →

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