#223299#223299

#223299 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.167 H 269.4°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#223299
RGBrgb(34, 50, 153)
HSLhsl(232, 64%, 37%)
HSVhsv(232, 78%, 60%)
CMYKcmyk(77.8%, 67.3%, 0%, 40%)
CIE-LABlab(26.51, 31.70, -57.83)
CIE-LCHlch(26.51, 65.95, 298.73°)
OKLaboklab(37.91% -0.0019 -0.1674)
OKLCHoklch(37.91% 0.167 269.4)
XYZxyz(7.5481, 4.9204, 30.6827)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223299 #998922
analogous
#226E99 #223299 #4E2299
triadic
#223299 #992232 #329922
tetradic
#223299 #99226E #998922 #22994E
square
#223299 #99226E #998922 #22994E
split-complementary
#223299 #994E22 #6E9922
monochromatic
#0C1135 #172267 #223299 #2D42CB #5B6CDB

Accessibility & contrast

On white

10.58
#223299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#223299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223299
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223299#FFFFFF#000000##FFFFFF
##2232991.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223299;
/* rgb */ color: rgb(34, 50, 153);
/* oklch */ color: oklch(37.9% 0.167 269.4);
Tailwind
colors: {
  custom: {
    50: '#716ab8',
    500: '#223299',
    950: '#000000',
  },
}
SCSS
$custom: #223299;
$custom-light: #716ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#223299",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 153
  },
  "hsl": {
    "h": 231.933,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3791,
    "c": 0.16737,
    "h": 269.4
  },
  "luminance": 0.04921
}

Semantic roles & 50–950 ramp

primary
#223299
secondary
#BFB158
accent
#D041E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223299

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

Preview Lab → · Contrast checker → · Palette generator →

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