#223566#223566

#223566 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.089 H 265.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#223566
RGBrgb(34, 53, 102)
HSLhsl(223, 50%, 27%)
HSVhsv(223, 67%, 40%)
CMYKcmyk(66.7%, 48%, 0%, 60%)
CIE-LABlab(23.15, 9.81, -31.18)
CIE-LCHlch(23.15, 32.69, 287.47°)
OKLaboklab(34.1% -0.0064 -0.089)
OKLCHoklch(34.1% 0.089 265.9)
XYZxyz(4.3302, 3.8452, 13.0818)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223566 #665322
analogous
#225766 #223566 #312266
triadic
#223566 #662235 #356622
tetradic
#223566 #662257 #665322 #226631
square
#223566 #662257 #665322 #226631
split-complementary
#223566 #663122 #576622
monochromatic
#080C17 #131D38 #223566 #314D94 #4265C0

Accessibility & contrast

On white

11.87
#223566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#223566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223566
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223566#FFFFFF#000000##FFFFFF
##2235661.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3A68
Deuteranopia (green-blind)
#123465
Tritanopia (blue-blind)
#004048
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #223566;
/* rgb */ color: rgb(34, 53, 102);
/* oklch */ color: oklch(34.1% 0.089 265.9);
Tailwind
colors: {
  custom: {
    50: '#656b92',
    500: '#223566',
    950: '#000000',
  },
}
SCSS
$custom: #223566;
$custom-light: #656b92;
$custom-dark: #000000;
JSON
{
  "hex": "#223566",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 102
  },
  "hsl": {
    "h": 223.235,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34095,
    "c": 0.08928,
    "h": 265.9
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#223566
secondary
#9A834A
accent
#B34EDA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #223566

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

Preview Lab → · Contrast checker → · Palette generator →

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