#223587#223587

#223587 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.139 H 268.6°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#223587
RGBrgb(34, 53, 135)
HSLhsl(229, 60%, 33%)
HSVhsv(229, 75%, 53%)
CMYKcmyk(74.8%, 60.7%, 0%, 47.1%)
CIE-LABlab(25.67, 22.79, -48.09)
CIE-LCHlch(25.67, 53.22, 295.36°)
OKLaboklab(36.79% -0.0034 -0.1388)
OKLCHoklch(36.79% 0.139 268.6)
XYZxyz(6.3045, 4.6349, 23.4793)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223587 #877422
analogous
#226787 #223587 #412287
triadic
#223587 #872235 #358722
tetradic
#223587 #872267 #877422 #228741
square
#223587 #872267 #877422 #228741
split-complementary
#223587 #874122 #678722
monochromatic
#090F25 #162256 #223587 #2E48B8 #5069D3

Accessibility & contrast

On white

10.90
#223587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#223587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223587
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223587#FFFFFF#000000##FFFFFF
##2235871.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#003885
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223587;
/* rgb */ color: rgb(34, 53, 135);
/* oklch */ color: oklch(36.8% 0.139 268.6);
Tailwind
colors: {
  custom: {
    50: '#6c6cab',
    500: '#223587',
    950: '#000000',
  },
}
SCSS
$custom: #223587;
$custom-light: #6c6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#223587",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 228.713,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36793,
    "c": 0.13881,
    "h": 268.6
  },
  "luminance": 0.04636
}

Semantic roles & 50–950 ramp

primary
#223587
secondary
#B7A34E
accent
#C545E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223587

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

Preview Lab → · Contrast checker → · Palette generator →

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