#223486#223486

#223486 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.139 H 268.9°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#223486
RGBrgb(34, 52, 134)
HSLhsl(229, 60%, 33%)
HSVhsv(229, 75%, 53%)
CMYKcmyk(74.6%, 61.2%, 0%, 47.5%)
CIE-LABlab(25.31, 23.09, -48.05)
CIE-LCHlch(25.31, 53.31, 295.67°)
OKLaboklab(36.5% -0.0026 -0.1387)
OKLCHoklch(36.5% 0.139 268.9)
XYZxyz(6.1893, 4.5167, 23.0952)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223486 #867422
analogous
#226686 #223486 #422286
triadic
#223486 #862234 #348622
tetradic
#223486 #862266 #867422 #228642
square
#223486 #862266 #867422 #228642
split-complementary
#223486 #864222 #668622
monochromatic
#090E24 #162155 #223486 #2E47B7 #5067D3

Accessibility & contrast

On white

11.03
#223486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#223486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223486
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223486#FFFFFF#000000##FFFFFF
##2234861.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003884
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223486;
/* rgb */ color: rgb(34, 52, 134);
/* oklch */ color: oklch(36.5% 0.139 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c6baa',
    500: '#223486',
    950: '#000000',
  },
}
SCSS
$custom: #223486;
$custom-light: #6c6baa;
$custom-dark: #000000;
JSON
{
  "hex": "#223486",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 134
  },
  "hsl": {
    "h": 229.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.365,
    "c": 0.13869,
    "h": 268.9
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#223486
secondary
#B6A34E
accent
#C645E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223486

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

Preview Lab → · Contrast checker → · Palette generator →

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