#223697#223697

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

Color values

HEX#223697
RGBrgb(34, 54, 151)
HSLhsl(230, 63%, 36%)
HSVhsv(230, 77%, 59%)
CMYKcmyk(77.5%, 64.2%, 0%, 40.8%)
CIE-LABlab(27.33, 28.29, -55.26)
CIE-LCHlch(27.33, 62.08, 297.11°)
OKLaboklab(38.46% -0.0042 -0.1598)
OKLCHoklch(38.46% 0.16 268.5)
XYZxyz(7.5628, 5.2119, 29.8796)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223697 #978322
analogous
#227197 #223697 #492297
triadic
#223697 #972236 #369722
tetradic
#223697 #972271 #978322 #229749
square
#223697 #972271 #978322 #229749
split-complementary
#223697 #974922 #719722
monochromatic
#0C1233 #172465 #223697 #2D48C9 #5A70DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##223697#FFFFFF#000000##FFFFFF
##2236971.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)
#00469A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #223697;
/* rgb */ color: rgb(34, 54, 151);
/* oklch */ color: oklch(38.5% 0.160 268.5);
Tailwind
colors: {
  custom: {
    50: '#706db6',
    500: '#223697',
    950: '#000000',
  },
}
SCSS
$custom: #223697;
$custom-light: #706db6;
$custom-dark: #000000;
JSON
{
  "hex": "#223697",
  "rgb": {
    "r": 34,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 229.744,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38458,
    "c": 0.15985,
    "h": 268.5
  },
  "luminance": 0.05213
}

Semantic roles & 50–950 ramp

primary
#223697
secondary
#BEAC57
accent
#CA42E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #223697

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

Preview Lab → · Contrast checker → · Palette generator →

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