#223389#223389

#223389 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.144 H 269.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#223389
RGBrgb(34, 51, 137)
HSLhsl(230, 60%, 34%)
HSVhsv(230, 75%, 54%)
CMYKcmyk(75.2%, 62.8%, 0%, 46.3%)
CIE-LABlab(25.30, 24.94, -49.94)
CIE-LCHlch(25.30, 55.82, 296.54°)
OKLaboklab(36.57% -0.0018 -0.1442)
OKLCHoklch(36.57% 0.144 269.3)
XYZxyz(6.3573, 4.5132, 24.1982)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223389 #897822
analogous
#226689 #223389 #442289
triadic
#223389 #892233 #338922
tetradic
#223389 #892266 #897822 #228944
square
#223389 #892266 #897822 #228944
split-complementary
#223389 #894422 #668922
monochromatic
#0A0E27 #162158 #223389 #2E45BA #5167D4

Accessibility & contrast

On white

11.04
#223389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223389
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223389#FFFFFF#000000##FFFFFF
##2233891.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #223389;
/* rgb */ color: rgb(34, 51, 137);
/* oklch */ color: oklch(36.6% 0.144 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d6aac',
    500: '#223389',
    950: '#000000',
  },
}
SCSS
$custom: #223389;
$custom-light: #6d6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#223389",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 137
  },
  "hsl": {
    "h": 230.097,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36573,
    "c": 0.14423,
    "h": 269.3
  },
  "luminance": 0.04514
}

Semantic roles & 50–950 ramp

primary
#223389
secondary
#B8A64F
accent
#C944E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #223389

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

Preview Lab → · Contrast checker → · Palette generator →

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