#223398#223398

#223398 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.165 H 269.2°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#223398
RGBrgb(34, 51, 152)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 78%, 60%)
CMYKcmyk(77.6%, 66.4%, 0%, 40.4%)
CIE-LABlab(26.66, 30.67, -56.97)
CIE-LCHlch(26.66, 64.70, 298.29°)
OKLaboklab(37.99% -0.0024 -0.1648)
OKLCHoklch(37.99% 0.165 269.2)
XYZxyz(7.5091, 4.9739, 30.2640)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223398 #988722
analogous
#226E98 #223398 #4C2298
triadic
#223398 #982233 #339822
tetradic
#223398 #98226E #988722 #22984C
square
#223398 #98226E #988722 #22984C
split-complementary
#223398 #984C22 #6E9822
monochromatic
#0C1134 #172266 #223398 #2D44CA #5A6DDA

Accessibility & contrast

On white

10.53
#223398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#223398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223398
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223398#FFFFFF#000000##FFFFFF
##2233981.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223398;
/* rgb */ color: rgb(34, 51, 152);
/* oklch */ color: oklch(38.0% 0.165 269.2);
Tailwind
colors: {
  custom: {
    50: '#716ab7',
    500: '#223398',
    950: '#000000',
  },
}
SCSS
$custom: #223398;
$custom-light: #716ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#223398",
  "rgb": {
    "r": 34,
    "g": 51,
    "b": 152
  },
  "hsl": {
    "h": 231.356,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37994,
    "c": 0.16484,
    "h": 269.2
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#223398
secondary
#BEB057
accent
#CF41E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223398

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

Preview Lab → · Contrast checker → · Palette generator →

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