#223099#223099

#223099 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.170 H 269.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#223099
RGBrgb(34, 48, 153)
HSLhsl(233, 64%, 37%)
HSVhsv(233, 78%, 60%)
CMYKcmyk(77.8%, 68.6%, 0%, 40%)
CIE-LABlab(26.02, 33.00, -58.63)
CIE-LCHlch(26.02, 67.28, 299.37°)
OKLaboklab(37.56% -0.0007 -0.1697)
OKLCHoklch(37.56% 0.17 269.8)
XYZxyz(7.4644, 4.7531, 30.6549)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223099 #998B22
analogous
#226C99 #223099 #502299
triadic
#223099 #992230 #309922
tetradic
#223099 #99226C #998B22 #229950
square
#223099 #99226C #998B22 #229950
split-complementary
#223099 #995022 #6C9922
monochromatic
#0C1135 #172067 #223099 #2D40CB #5B6ADB

Accessibility & contrast

On white

10.76
#223099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#223099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223099
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223099#FFFFFF#000000##FFFFFF
##2230991.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223099;
/* rgb */ color: rgb(34, 48, 153);
/* oklch */ color: oklch(37.6% 0.170 269.8);
Tailwind
colors: {
  custom: {
    50: '#7168b8',
    500: '#223099',
    950: '#000000',
  },
}
SCSS
$custom: #223099;
$custom-light: #7168b8;
$custom-dark: #000000;
JSON
{
  "hex": "#223099",
  "rgb": {
    "r": 34,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 232.941,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37555,
    "c": 0.1697,
    "h": 269.8
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#223099
secondary
#BFB358
accent
#D341E7
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223099

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

Preview Lab → · Contrast checker → · Palette generator →

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