#223499#223499

#223499 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.165 H 268.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#223499
RGBrgb(34, 52, 153)
HSLhsl(231, 64%, 37%)
HSVhsv(231, 78%, 60%)
CMYKcmyk(77.8%, 66%, 0%, 40%)
CIE-LABlab(27.00, 30.38, -57.02)
CIE-LCHlch(27.00, 64.61, 298.05°)
OKLaboklab(38.27% -0.0031 -0.165)
OKLCHoklch(38.27% 0.165 268.9)
XYZxyz(7.6355, 5.0951, 30.7119)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223499 #998722
analogous
#227099 #223499 #4C2299
triadic
#223499 #992234 #349922
tetradic
#223499 #992270 #998722 #22994C
square
#223499 #992270 #998722 #22994C
split-complementary
#223499 #994C22 #709922
monochromatic
#0C1235 #172367 #223499 #2D45CB #5B6EDB

Accessibility & contrast

On white

10.40
#223499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223499
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223499#FFFFFF#000000##FFFFFF
##2234991.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223499;
/* rgb */ color: rgb(34, 52, 153);
/* oklch */ color: oklch(38.3% 0.165 268.9);
Tailwind
colors: {
  custom: {
    50: '#716bb8',
    500: '#223499',
    950: '#000000',
  },
}
SCSS
$custom: #223499;
$custom-light: #716bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#223499",
  "rgb": {
    "r": 34,
    "g": 52,
    "b": 153
  },
  "hsl": {
    "h": 230.924,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38274,
    "c": 0.16498,
    "h": 268.9
  },
  "luminance": 0.05096
}

Semantic roles & 50–950 ramp

primary
#223499
secondary
#BFAF58
accent
#CE41E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223499

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

Preview Lab → · Contrast checker → · Palette generator →

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