#223186#223186

#223186 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.143 H 269.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#223186
RGBrgb(34, 49, 134)
HSLhsl(231, 60%, 33%)
HSVhsv(231, 75%, 53%)
CMYKcmyk(74.6%, 63.4%, 0%, 47.5%)
CIE-LABlab(24.50, 25.16, -49.37)
CIE-LCHlch(24.50, 55.41, 297.00°)
OKLaboklab(35.9% -0.0003 -0.1426)
OKLCHoklch(35.9% 0.143 269.9)
XYZxyz(6.0596, 4.2573, 23.0520)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223186 #867722
analogous
#226386 #223186 #452286
triadic
#223186 #862231 #318622
tetradic
#223186 #862263 #867722 #228645
square
#223186 #862263 #867722 #228645
split-complementary
#223186 #864522 #638622
monochromatic
#090D24 #161F55 #223186 #2E43B7 #5063D3

Accessibility & contrast

On white

11.34
#223186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223186
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223186#FFFFFF#000000##FFFFFF
##2231861.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223186;
/* rgb */ color: rgb(34, 49, 134);
/* oklch */ color: oklch(35.9% 0.143 269.9);
Tailwind
colors: {
  custom: {
    50: '#6d69aa',
    500: '#223186',
    950: '#000000',
  },
}
SCSS
$custom: #223186;
$custom-light: #6d69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#223186",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 134
  },
  "hsl": {
    "h": 231,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35902,
    "c": 0.14256,
    "h": 269.9
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#223186
secondary
#B6A64E
accent
#CB45E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223186

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

Preview Lab → · Contrast checker → · Palette generator →

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