#223792#223792

#223792 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.152 H 268.2°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#223792
RGBrgb(34, 55, 146)
HSLhsl(229, 62%, 35%)
HSVhsv(229, 77%, 57%)
CMYKcmyk(76.7%, 62.3%, 0%, 42.7%)
CIE-LABlab(27.15, 25.69, -52.49)
CIE-LCHlch(27.15, 58.44, 296.08°)
OKLaboklab(38.19% -0.0048 -0.1516)
OKLCHoklch(38.19% 0.152 268.2)
XYZxyz(7.2124, 5.1470, 27.8019)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223792 #927D22
analogous
#226F92 #223792 #452292
triadic
#223792 #922237 #379222
tetradic
#223792 #92226F #927D22 #229245
square
#223792 #92226F #927D22 #229245
split-complementary
#223792 #924522 #6F9222
monochromatic
#0B122F #162460 #223792 #2E4AC4 #576FD8

Accessibility & contrast

On white

10.35
#223792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#223792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223792
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223792#FFFFFF#000000##FFFFFF
##2237921.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003B90
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223792;
/* rgb */ color: rgb(34, 55, 146);
/* oklch */ color: oklch(38.2% 0.152 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f6db3',
    500: '#223792',
    950: '#000000',
  },
}
SCSS
$custom: #223792;
$custom-light: #6f6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#223792",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 146
  },
  "hsl": {
    "h": 228.75,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.15173,
    "h": 268.2
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#223792
secondary
#BCA854
accent
#C743E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #223792

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

Preview Lab → · Contrast checker → · Palette generator →

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