#223794#223794

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

Color values

HEX#223794
RGBrgb(34, 55, 148)
HSLhsl(229, 63%, 36%)
HSVhsv(229, 77%, 58%)
CMYKcmyk(77%, 62.8%, 0%, 42%)
CIE-LABlab(27.32, 26.46, -53.43)
CIE-LCHlch(27.32, 59.62, 296.35°)
OKLaboklab(38.37% -0.0048 -0.1544)
OKLCHoklch(38.37% 0.154 268.2)
XYZxyz(7.3693, 5.2098, 28.6284)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223794 #947F22
analogous
#227094 #223794 #462294
triadic
#223794 #942237 #379422
tetradic
#223794 #942270 #947F22 #229446
square
#223794 #942270 #947F22 #229446
split-complementary
#223794 #944622 #709422
monochromatic
#0B1230 #172562 #223794 #2D49C6 #5870D9

Accessibility & contrast

On white

10.28
#223794 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223794
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223794#FFFFFF#000000##FFFFFF
##2237941.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223794;
/* rgb */ color: rgb(34, 55, 148);
/* oklch */ color: oklch(38.4% 0.154 268.2);
Tailwind
colors: {
  custom: {
    50: '#706db4',
    500: '#223794',
    950: '#000000',
  },
}
SCSS
$custom: #223794;
$custom-light: #706db4;
$custom-dark: #000000;
JSON
{
  "hex": "#223794",
  "rgb": {
    "r": 34,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 228.947,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38371,
    "c": 0.15449,
    "h": 268.2
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

primary
#223794
secondary
#BDAA55
accent
#C842E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223794

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

Preview Lab → · Contrast checker → · Palette generator →

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