#223694#223694

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

Color values

HEX#223694
RGBrgb(34, 54, 148)
HSLhsl(229, 63%, 36%)
HSVhsv(229, 77%, 58%)
CMYKcmyk(77%, 63.5%, 0%, 42%)
CIE-LABlab(27.06, 27.14, -53.86)
CIE-LCHlch(27.06, 60.31, 296.74°)
OKLaboklab(38.18% -0.0041 -0.1557)
OKLCHoklch(38.18% 0.156 268.5)
XYZxyz(7.3223, 5.1157, 28.6128)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223694 #948022
analogous
#226F94 #223694 #472294
triadic
#223694 #942236 #369422
tetradic
#223694 #94226F #948022 #229447
square
#223694 #94226F #948022 #229447
split-complementary
#223694 #944722 #6F9422
monochromatic
#0B1230 #172462 #223694 #2D48C6 #586ED9

Accessibility & contrast

On white

10.38
#223694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#223694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223694
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223694#FFFFFF#000000##FFFFFF
##2236941.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223694;
/* rgb */ color: rgb(34, 54, 148);
/* oklch */ color: oklch(38.2% 0.156 268.5);
Tailwind
colors: {
  custom: {
    50: '#706cb4',
    500: '#223694',
    950: '#000000',
  },
}
SCSS
$custom: #223694;
$custom-light: #706cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#223694",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 148
  },
  "hsl": {
    "h": 229.474,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38177,
    "c": 0.15574,
    "h": 268.5
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#223694
secondary
#BDAB55
accent
#C942E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223694

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

Preview Lab → · Contrast checker → · Palette generator →

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