#223199#223199

#223199 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.169 H 269.6°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#223199
RGBrgb(34, 49, 153)
HSLhsl(232, 64%, 37%)
HSVhsv(232, 78%, 60%)
CMYKcmyk(77.8%, 68%, 0%, 40%)
CIE-LABlab(26.26, 32.35, -58.24)
CIE-LCHlch(26.26, 66.62, 299.05°)
OKLaboklab(37.73% -0.0013 -0.1685)
OKLCHoklch(37.73% 0.169 269.6)
XYZxyz(7.5058, 4.8358, 30.6686)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223199 #998A22
analogous
#226D99 #223199 #4F2299
triadic
#223199 #992231 #319922
tetradic
#223199 #99226D #998A22 #22994F
square
#223199 #99226D #998A22 #22994F
split-complementary
#223199 #994F22 #6D9922
monochromatic
#0C1135 #172167 #223199 #2D41CB #5B6BDB

Accessibility & contrast

On white

10.67
#223199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#223199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223199
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223199#FFFFFF#000000##FFFFFF
##2231991.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003997
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223199;
/* rgb */ color: rgb(34, 49, 153);
/* oklch */ color: oklch(37.7% 0.169 269.6);
Tailwind
colors: {
  custom: {
    50: '#7169b8',
    500: '#223199',
    950: '#000000',
  },
}
SCSS
$custom: #223199;
$custom-light: #7169b8;
$custom-dark: #000000;
JSON
{
  "hex": "#223199",
  "rgb": {
    "r": 34,
    "g": 49,
    "b": 153
  },
  "hsl": {
    "h": 232.437,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37732,
    "c": 0.16854,
    "h": 269.6
  },
  "luminance": 0.04837
}

Semantic roles & 50–950 ramp

primary
#223199
secondary
#BFB258
accent
#D241E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223199

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

Preview Lab → · Contrast checker → · Palette generator →

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