#223789#223789

#223789 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.139 H 268.0°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#223789
RGBrgb(34, 55, 137)
HSLhsl(228, 60%, 34%)
HSVhsv(228, 75%, 54%)
CMYKcmyk(75.2%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.38, 22.20, -48.17)
CIE-LCHlch(26.38, 53.04, 294.74°)
OKLaboklab(37.38% -0.0049 -0.139)
OKLCHoklch(37.38% 0.139 268)
XYZxyz(6.5397, 4.8779, 24.2589)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223789 #897422
analogous
#226A89 #223789 #402289
triadic
#223789 #892237 #378922
tetradic
#223789 #89226A #897422 #228940
square
#223789 #89226A #897422 #228940
split-complementary
#223789 #894022 #6A8922
monochromatic
#0A1027 #162358 #223789 #2E4BBA #516CD4

Accessibility & contrast

On white

10.63
#223789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223789
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223789#FFFFFF#000000##FFFFFF
##2237891.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223789;
/* rgb */ color: rgb(34, 55, 137);
/* oklch */ color: oklch(37.4% 0.139 268.0);
Tailwind
colors: {
  custom: {
    50: '#6d6dac',
    500: '#223789',
    950: '#000000',
  },
}
SCSS
$custom: #223789;
$custom-light: #6d6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#223789",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 227.767,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37379,
    "c": 0.13907,
    "h": 268
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#223789
secondary
#B8A24F
accent
#C344E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223789

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

Preview Lab → · Contrast checker → · Palette generator →

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