#223498#223498

#223498 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.164 H 269.0°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#223498
RGBrgb(34, 52, 152)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 78%, 60%)
CMYKcmyk(77.6%, 65.8%, 0%, 40.4%)
CIE-LABlab(26.91, 30.00, -56.56)
CIE-LCHlch(26.91, 64.02, 297.94°)
OKLaboklab(38.18% -0.003 -0.1636)
OKLCHoklch(38.18% 0.164 269)
XYZxyz(7.5532, 5.0622, 30.2787)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223498 #988622
analogous
#226F98 #223498 #4B2298
triadic
#223498 #982234 #349822
tetradic
#223498 #98226F #988622 #22984B
square
#223498 #98226F #988622 #22984B
split-complementary
#223498 #984B22 #6F9822
monochromatic
#0C1234 #172366 #223498 #2D45CA #5A6EDA

Accessibility & contrast

On white

10.43
#223498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#223498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223498
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223498#FFFFFF#000000##FFFFFF
##2234981.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223498;
/* rgb */ color: rgb(34, 52, 152);
/* oklch */ color: oklch(38.2% 0.164 269.0);
Tailwind
colors: {
  custom: {
    50: '#716bb7',
    500: '#223498',
    950: '#000000',
  },
}
SCSS
$custom: #223498;
$custom-light: #716bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#223498",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 152
  },
  "hsl": {
    "h": 230.847,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38178,
    "c": 0.16364,
    "h": 269
  },
  "luminance": 0.05063
}

Semantic roles & 50–950 ramp

primary
#223498
secondary
#BEAF57
accent
#CD41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223498

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

Preview Lab → · Contrast checker → · Palette generator →

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