#223699#223699

#223699 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.163 H 268.5°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#223699
RGBrgb(34, 54, 153)
HSLhsl(230, 64%, 37%)
HSVhsv(230, 78%, 60%)
CMYKcmyk(77.8%, 64.7%, 0%, 40%)
CIE-LABlab(27.51, 29.05, -56.19)
CIE-LCHlch(27.51, 63.25, 297.34°)
OKLaboklab(38.65% -0.0043 -0.1625)
OKLCHoklch(38.65% 0.163 268.5)
XYZxyz(7.7266, 5.2775, 30.7423)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223699 #998522
analogous
#227299 #223699 #4A2299
triadic
#223699 #992236 #369922
tetradic
#223699 #992272 #998522 #22994A
square
#223699 #992272 #998522 #22994A
split-complementary
#223699 #994A22 #729922
monochromatic
#0C1335 #172467 #223699 #2D48CB #5B70DB

Accessibility & contrast

On white

10.22
#223699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#223699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223699
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223699#FFFFFF#000000##FFFFFF
##2236991.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223699;
/* rgb */ color: rgb(34, 54, 153);
/* oklch */ color: oklch(38.6% 0.163 268.5);
Tailwind
colors: {
  custom: {
    50: '#716db8',
    500: '#223699',
    950: '#000000',
  },
}
SCSS
$custom: #223699;
$custom-light: #716db8;
$custom-dark: #000000;
JSON
{
  "hex": "#223699",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 153
  },
  "hsl": {
    "h": 229.916,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38647,
    "c": 0.16257,
    "h": 268.5
  },
  "luminance": 0.05278
}

Semantic roles & 50–950 ramp

primary
#223699
secondary
#BFAE58
accent
#CB41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223699

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

Preview Lab → · Contrast checker → · Palette generator →

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