#223598#223598

#223598 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.162 H 268.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#223598
RGBrgb(34, 53, 152)
HSLhsl(230, 63%, 36%)
HSVhsv(230, 78%, 60%)
CMYKcmyk(77.6%, 65.1%, 0%, 40.4%)
CIE-LABlab(27.16, 29.34, -56.14)
CIE-LCHlch(27.16, 63.35, 297.59°)
OKLaboklab(38.36% -0.0036 -0.1624)
OKLCHoklch(38.36% 0.162 268.7)
XYZxyz(7.5983, 5.1524, 30.2937)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223598 #988522
analogous
#227098 #223598 #4A2298
triadic
#223598 #982235 #359822
tetradic
#223598 #982270 #988522 #22984A
square
#223598 #982270 #988522 #22984A
split-complementary
#223598 #984A22 #709822
monochromatic
#0C1234 #172466 #223598 #2D46CA #5A6FDA

Accessibility & contrast

On white

10.34
#223598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#223598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223598
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223598#FFFFFF#000000##FFFFFF
##2235981.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223598;
/* rgb */ color: rgb(34, 53, 152);
/* oklch */ color: oklch(38.4% 0.162 268.7);
Tailwind
colors: {
  custom: {
    50: '#716cb7',
    500: '#223598',
    950: '#000000',
  },
}
SCSS
$custom: #223598;
$custom-light: #716cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#223598",
  "rgb": {
    "r": 34,
    "g": 53,
    "b": 152
  },
  "hsl": {
    "h": 230.339,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38364,
    "c": 0.16243,
    "h": 268.7
  },
  "luminance": 0.05153
}

Semantic roles & 50–950 ramp

primary
#223598
secondary
#BEAE57
accent
#CC41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223598

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

Preview Lab → · Contrast checker → · Palette generator →

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