#223687#223687

#223687 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.0% C 0.138 H 268.3°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#223687
RGBrgb(34, 54, 135)
HSLhsl(228, 60%, 33%)
HSVhsv(228, 75%, 53%)
CMYKcmyk(74.8%, 60%, 0%, 47.1%)
CIE-LABlab(25.94, 22.10, -47.64)
CIE-LCHlch(25.94, 52.52, 294.89°)
OKLaboklab(37% -0.0041 -0.1374)
OKLCHoklch(37% 0.138 268.3)
XYZxyz(6.3505, 4.7270, 23.4947)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223687 #877322
analogous
#226887 #223687 #402287
triadic
#223687 #872236 #368722
tetradic
#223687 #872268 #877322 #228740
square
#223687 #872268 #877322 #228740
split-complementary
#223687 #874022 #688722
monochromatic
#090F25 #162256 #223687 #2E4AB8 #506AD3

Accessibility & contrast

On white

10.79
#223687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223687
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223687#FFFFFF#000000##FFFFFF
##2236871.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223687;
/* rgb */ color: rgb(34, 54, 135);
/* oklch */ color: oklch(37.0% 0.138 268.3);
Tailwind
colors: {
  custom: {
    50: '#6c6cab',
    500: '#223687',
    950: '#000000',
  },
}
SCSS
$custom: #223687;
$custom-light: #6c6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#223687",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 135
  },
  "hsl": {
    "h": 228.119,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36997,
    "c": 0.13751,
    "h": 268.3
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#223687
secondary
#B7A24E
accent
#C445E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223687

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

Preview Lab → · Contrast checker → · Palette generator →

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