#223686#223686

#223686 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.136 H 268.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#223686
RGBrgb(34, 54, 134)
HSLhsl(228, 60%, 33%)
HSVhsv(228, 75%, 53%)
CMYKcmyk(74.6%, 59.7%, 0%, 47.5%)
CIE-LABlab(25.86, 21.71, -47.16)
CIE-LCHlch(25.86, 51.91, 294.72°)
OKLaboklab(36.91% -0.0042 -0.136)
OKLCHoklch(36.91% 0.136 268.2)
XYZxyz(6.2804, 4.6990, 23.1256)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223686 #867222
analogous
#226886 #223686 #402286
triadic
#223686 #862236 #368622
tetradic
#223686 #862268 #867222 #228640
square
#223686 #862268 #867222 #228640
split-complementary
#223686 #864022 #688622
monochromatic
#090F24 #162255 #223686 #2E4AB7 #506AD3

Accessibility & contrast

On white

10.82
#223686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#223686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223686
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223686#FFFFFF#000000##FFFFFF
##2236861.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#003984
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223686;
/* rgb */ color: rgb(34, 54, 134);
/* oklch */ color: oklch(36.9% 0.136 268.2);
Tailwind
colors: {
  custom: {
    50: '#6c6caa',
    500: '#223686',
    950: '#000000',
  },
}
SCSS
$custom: #223686;
$custom-light: #6c6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#223686",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 134
  },
  "hsl": {
    "h": 228,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36909,
    "c": 0.13607,
    "h": 268.2
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#223686
secondary
#B6A14E
accent
#C345E3
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #223686

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

Preview Lab → · Contrast checker → · Palette generator →

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