#223292#223292

#223292 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.158 H 269.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#223292
RGBrgb(34, 50, 146)
HSLhsl(231, 62%, 35%)
HSVhsv(231, 77%, 57%)
CMYKcmyk(76.7%, 65.8%, 0%, 42.7%)
CIE-LABlab(25.85, 29.06, -54.61)
CIE-LCHlch(25.85, 61.86, 298.02°)
OKLaboklab(37.23% -0.0014 -0.1579)
OKLCHoklch(37.23% 0.158 269.5)
XYZxyz(6.9868, 4.6959, 27.7267)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223292 #928222
analogous
#226A92 #223292 #4A2292
triadic
#223292 #922232 #329222
tetradic
#223292 #92226A #928222 #22924A
square
#223292 #92226A #928222 #22924A
split-complementary
#223292 #924A22 #6A9222
monochromatic
#0B102F #162160 #223292 #2E43C4 #5769D8

Accessibility & contrast

On white

10.83
#223292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#223292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223292
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223292#FFFFFF#000000##FFFFFF
##2232921.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #223292;
/* rgb */ color: rgb(34, 50, 146);
/* oklch */ color: oklch(37.2% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#6f6ab3',
    500: '#223292',
    950: '#000000',
  },
}
SCSS
$custom: #223292;
$custom-light: #6f6ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#223292",
  "rgb": {
    "r": 34,
    "g": 50,
    "b": 146
  },
  "hsl": {
    "h": 231.429,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37228,
    "c": 0.15794,
    "h": 269.5
  },
  "luminance": 0.04697
}

Semantic roles & 50–950 ramp

primary
#223292
secondary
#BCAD54
accent
#CE43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #223292

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

Preview Lab → · Contrast checker → · Palette generator →

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