#223286#223286

#223286 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.141 H 269.6°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#223286
RGBrgb(34, 50, 134)
HSLhsl(230, 60%, 33%)
HSVhsv(230, 75%, 53%)
CMYKcmyk(74.6%, 62.7%, 0%, 47.5%)
CIE-LABlab(24.77, 24.47, -48.93)
CIE-LCHlch(24.77, 54.71, 296.57°)
OKLaboklab(36.1% -0.001 -0.1413)
OKLCHoklch(36.1% 0.141 269.6)
XYZxyz(6.1019, 4.3419, 23.0661)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223286 #867622
analogous
#226486 #223286 #442286
triadic
#223286 #862232 #328622
tetradic
#223286 #862264 #867622 #228644
square
#223286 #862264 #867622 #228644
split-complementary
#223286 #864422 #648622
monochromatic
#090E24 #162055 #223286 #2E44B7 #5065D3

Accessibility & contrast

On white

11.24
#223286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#223286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223286
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223286#FFFFFF#000000##FFFFFF
##2232861.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003684
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223286;
/* rgb */ color: rgb(34, 50, 134);
/* oklch */ color: oklch(36.1% 0.141 269.6);
Tailwind
colors: {
  custom: {
    50: '#6c69aa',
    500: '#223286',
    950: '#000000',
  },
}
SCSS
$custom: #223286;
$custom-light: #6c69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#223286",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 230.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36099,
    "c": 0.14128,
    "h": 269.6
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#223286
secondary
#B6A54E
accent
#C945E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223286

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

Preview Lab → · Contrast checker → · Palette generator →

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