#223189#223189

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

Color values

HEX#223189
RGBrgb(34, 49, 137)
HSLhsl(231, 60%, 34%)
HSVhsv(231, 75%, 54%)
CMYKcmyk(75.2%, 64.2%, 0%, 46.3%)
CIE-LABlab(24.77, 26.31, -50.80)
CIE-LCHlch(24.77, 57.21, 297.38°)
OKLaboklab(36.18% -0.0004 -0.1468)
OKLCHoklch(36.18% 0.147 269.9)
XYZxyz(6.2718, 4.3422, 24.1697)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223189 #897A22
analogous
#226489 #223189 #462289
triadic
#223189 #892231 #318922
tetradic
#223189 #892264 #897A22 #228946
square
#223189 #892264 #897A22 #228946
split-complementary
#223189 #894622 #648922
monochromatic
#0A0E27 #161F58 #223189 #2E43BA #5164D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##223189#FFFFFF#000000##FFFFFF
##2231891.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)
#00408C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #223189;
/* rgb */ color: rgb(34, 49, 137);
/* oklch */ color: oklch(36.2% 0.147 269.9);
Tailwind
colors: {
  custom: {
    50: '#6d69ac',
    500: '#223189',
    950: '#000000',
  },
}
SCSS
$custom: #223189;
$custom-light: #6d69ac;
$custom-dark: #000000;
JSON
{
  "hex": "#223189",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 231.262,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36182,
    "c": 0.14677,
    "h": 269.9
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#223189
secondary
#B8A84F
accent
#CC44E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223189

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

Preview Lab → · Contrast checker → · Palette generator →

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