#223296#223296

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

Color values

HEX#223296
RGBrgb(34, 50, 150)
HSLhsl(232, 63%, 36%)
HSVhsv(232, 77%, 59%)
CMYKcmyk(77.3%, 66.7%, 0%, 41.2%)
CIE-LABlab(26.22, 30.57, -56.46)
CIE-LCHlch(26.22, 64.21, 298.43°)
OKLaboklab(37.62% -0.0017 -0.1633)
OKLCHoklch(37.62% 0.163 269.4)
XYZxyz(7.3034, 4.8225, 29.3942)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223296 #968622
analogous
#226C96 #223296 #4C2296
triadic
#223296 #962232 #329622
tetradic
#223296 #96226C #968622 #22964C
square
#223296 #96226C #968622 #22964C
split-complementary
#223296 #964C22 #6C9622
monochromatic
#0B1132 #172164 #223296 #2D43C8 #596BD9

Accessibility & contrast

On white

10.69
#223296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#223296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223296
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223296#FFFFFF#000000##FFFFFF
##2232961.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #223296;
/* rgb */ color: rgb(34, 50, 150);
/* oklch */ color: oklch(37.6% 0.163 269.4);
Tailwind
colors: {
  custom: {
    50: '#716ab6',
    500: '#223296',
    950: '#000000',
  },
}
SCSS
$custom: #223296;
$custom-light: #716ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#223296",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 231.724,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37616,
    "c": 0.16335,
    "h": 269.4
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#223296
secondary
#BEAF56
accent
#CF42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223296

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

Preview Lab → · Contrast checker → · Palette generator →

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