#223793#223793

#223793 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.153 H 268.2°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#223793
RGBrgb(34, 55, 147)
HSLhsl(229, 62%, 35%)
HSVhsv(229, 77%, 58%)
CMYKcmyk(76.9%, 62.6%, 0%, 42.4%)
CIE-LABlab(27.24, 26.08, -52.96)
CIE-LCHlch(27.24, 59.03, 296.22°)
OKLaboklab(38.28% -0.0048 -0.153)
OKLCHoklch(38.28% 0.153 268.2)
XYZxyz(7.2905, 5.1782, 28.2134)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223793 #937E22
analogous
#226F93 #223793 #462293
triadic
#223793 #932237 #379322
tetradic
#223793 #93226F #937E22 #229346
square
#223793 #93226F #937E22 #229346
split-complementary
#223793 #934622 #6F9322
monochromatic
#0B1230 #172461 #223793 #2D4AC5 #576FD8

Accessibility & contrast

On white

10.32
#223793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#223793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223793
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223793#FFFFFF#000000##FFFFFF
##2237931.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #223793;
/* rgb */ color: rgb(34, 55, 147);
/* oklch */ color: oklch(38.3% 0.153 268.2);
Tailwind
colors: {
  custom: {
    50: '#6f6db4',
    500: '#223793',
    950: '#000000',
  },
}
SCSS
$custom: #223793;
$custom-light: #6f6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#223793",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 147
  },
  "hsl": {
    "h": 228.85,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38279,
    "c": 0.15312,
    "h": 268.2
  },
  "luminance": 0.05179
}

Semantic roles & 50–950 ramp

primary
#223793
secondary
#BCA955
accent
#C742E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223793

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

Preview Lab → · Contrast checker → · Palette generator →

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