#223996#223996

#223996 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.155 H 267.7°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#223996
RGBrgb(34, 57, 150)
HSLhsl(228, 63%, 36%)
HSVhsv(228, 77%, 59%)
CMYKcmyk(77.3%, 62%, 0%, 41.2%)
CIE-LABlab(28.03, 25.88, -53.51)
CIE-LCHlch(28.03, 59.44, 295.81°)
OKLaboklab(38.95% -0.0062 -0.1546)
OKLCHoklch(38.95% 0.155 267.7)
XYZxyz(7.6259, 5.4675, 29.5017)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223996 #967F22
analogous
#227396 #223996 #452296
triadic
#223996 #962239 #399622
tetradic
#223996 #962273 #967F22 #229645
square
#223996 #962273 #967F22 #229645
split-complementary
#223996 #964522 #739622
monochromatic
#0B1332 #172664 #223996 #2D4CC8 #5972D9

Accessibility & contrast

On white

10.03
#223996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#223996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223996
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223996#FFFFFF#000000##FFFFFF
##2239961.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #223996;
/* rgb */ color: rgb(34, 57, 150);
/* oklch */ color: oklch(38.9% 0.155 267.7);
Tailwind
colors: {
  custom: {
    50: '#706fb6',
    500: '#223996',
    950: '#000000',
  },
}
SCSS
$custom: #223996;
$custom-light: #706fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#223996",
  "rgb": {
    "r": 34,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 228.103,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.15474,
    "h": 267.7
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#223996
secondary
#BEA956
accent
#C542E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223996

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

Preview Lab → · Contrast checker → · Palette generator →

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