#223497#223497

#223497 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.162 H 269.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#223497
RGBrgb(34, 52, 151)
HSLhsl(231, 63%, 36%)
HSVhsv(231, 77%, 59%)
CMYKcmyk(77.5%, 65.6%, 0%, 40.8%)
CIE-LABlab(26.82, 29.62, -56.10)
CIE-LCHlch(26.82, 63.44, 297.84°)
OKLaboklab(38.08% -0.0029 -0.1623)
OKLCHoklch(38.08% 0.162 269)
XYZxyz(7.4717, 5.0296, 29.8492)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223497 #978522
analogous
#226F97 #223497 #4B2297
triadic
#223497 #972234 #349722
tetradic
#223497 #97226F #978522 #22974B
square
#223497 #97226F #978522 #22974B
split-complementary
#223497 #974B22 #6F9722
monochromatic
#0C1233 #172365 #223497 #2D45C9 #5A6DDA

Accessibility & contrast

On white

10.47
#223497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223497
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223497#FFFFFF#000000##FFFFFF
##2234971.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #223497;
/* rgb */ color: rgb(34, 52, 151);
/* oklch */ color: oklch(38.1% 0.162 269.0);
Tailwind
colors: {
  custom: {
    50: '#716bb7',
    500: '#223497',
    950: '#000000',
  },
}
SCSS
$custom: #223497;
$custom-light: #716bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#223497",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 230.769,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38082,
    "c": 0.16229,
    "h": 269
  },
  "luminance": 0.0503
}

Semantic roles & 50–950 ramp

primary
#223497
secondary
#BEAE57
accent
#CD42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223497

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

Preview Lab → · Contrast checker → · Palette generator →

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