#223689#223689

#223689 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.140 H 268.3°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#223689
RGBrgb(34, 54, 137)
HSLhsl(228, 60%, 34%)
HSVhsv(228, 75%, 54%)
CMYKcmyk(75.2%, 60.6%, 0%, 46.3%)
CIE-LABlab(26.11, 22.88, -48.62)
CIE-LCHlch(26.11, 53.73, 295.21°)
OKLaboklab(37.18% -0.0041 -0.1403)
OKLCHoklch(37.18% 0.14 268.3)
XYZxyz(6.4926, 4.7839, 24.2433)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223689 #897522
analogous
#226989 #223689 #422289
triadic
#223689 #892236 #368922
tetradic
#223689 #892269 #897522 #228942
square
#223689 #892269 #897522 #228942
split-complementary
#223689 #894222 #698922
monochromatic
#0A0F27 #162358 #223689 #2E49BA #516BD4

Accessibility & contrast

On white

10.73
#223689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223689
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223689#FFFFFF#000000##FFFFFF
##2236891.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223689;
/* rgb */ color: rgb(34, 54, 137);
/* oklch */ color: oklch(37.2% 0.140 268.3);
Tailwind
colors: {
  custom: {
    50: '#6d6cac',
    500: '#223689',
    950: '#000000',
  },
}
SCSS
$custom: #223689;
$custom-light: #6d6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#223689",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 137
  },
  "hsl": {
    "h": 228.35,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37175,
    "c": 0.14036,
    "h": 268.3
  },
  "luminance": 0.04785
}

Semantic roles & 50–950 ramp

primary
#223689
secondary
#B8A34F
accent
#C544E3
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #223689

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

Preview Lab → · Contrast checker → · Palette generator →

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