#223187#223187

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

Color values

HEX#223187
RGBrgb(34, 49, 135)
HSLhsl(231, 60%, 33%)
HSVhsv(231, 75%, 53%)
CMYKcmyk(74.8%, 63.7%, 0%, 47.1%)
CIE-LABlab(24.59, 25.54, -49.85)
CIE-LCHlch(24.59, 56.01, 297.13°)
OKLaboklab(35.99% -0.0003 -0.144)
OKLCHoklch(35.99% 0.144 269.9)
XYZxyz(6.1297, 4.2853, 23.4211)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223187 #877822
analogous
#226387 #223187 #452287
triadic
#223187 #872231 #318722
tetradic
#223187 #872263 #877822 #228745
square
#223187 #872263 #877822 #228745
split-complementary
#223187 #874522 #638722
monochromatic
#090E25 #161F56 #223187 #2E43B8 #5064D3

Accessibility & contrast

On white

11.31
#223187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#223187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223187
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223187#FFFFFF#000000##FFFFFF
##2231871.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8A
Deuteranopia (green-blind)
#003685
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #223187;
/* rgb */ color: rgb(34, 49, 135);
/* oklch */ color: oklch(36.0% 0.144 269.9);
Tailwind
colors: {
  custom: {
    50: '#6d69ab',
    500: '#223187',
    950: '#000000',
  },
}
SCSS
$custom: #223187;
$custom-light: #6d69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#223187",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 135
  },
  "hsl": {
    "h": 231.089,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35995,
    "c": 0.14397,
    "h": 269.9
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223187

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

Preview Lab → · Contrast checker → · Palette generator →

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