#223578#223578

#223578 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.5% C 0.117 H 268.0°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#223578
RGBrgb(34, 53, 120)
HSLhsl(227, 56%, 30%)
HSVhsv(227, 72%, 47%)
CMYKcmyk(71.7%, 55.8%, 0%, 52.9%)
CIE-LABlab(24.46, 16.91, -40.63)
CIE-LCHlch(24.46, 44.01, 292.59°)
OKLaboklab(35.5% -0.004 -0.1168)
OKLCHoklch(35.5% 0.117 268)
XYZxyz(5.3218, 4.2418, 18.3040)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223578 #786522
analogous
#226078 #223578 #3A2278
triadic
#223578 #782235 #357822
tetradic
#223578 #782260 #786522 #22783A
square
#223578 #782260 #786522 #22783A
split-complementary
#223578 #783A22 #607822
monochromatic
#070B19 #142048 #223578 #304AA8 #4966CB

Accessibility & contrast

On white

11.36
#223578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#223578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223578
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223578#FFFFFF#000000##FFFFFF
##2235781.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053E7A
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223578;
/* rgb */ color: rgb(34, 53, 120);
/* oklch */ color: oklch(35.5% 0.117 268.0);
Tailwind
colors: {
  custom: {
    50: '#696b9f',
    500: '#223578',
    950: '#000000',
  },
}
SCSS
$custom: #223578;
$custom-light: #696b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#223578",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 120
  },
  "hsl": {
    "h": 226.744,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35502,
    "c": 0.11691,
    "h": 268
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#223578
secondary
#AB964B
accent
#BE49DF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #223578

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

Preview Lab → · Contrast checker → · Palette generator →

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