#223E97#223E97

#223E97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.150 H 266.3°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#223E97
RGBrgb(34, 62, 151)
HSLhsl(226, 63%, 36%)
HSVhsv(226, 77%, 59%)
CMYKcmyk(77.5%, 58.9%, 0%, 40.8%)
CIE-LABlab(29.46, 22.87, -51.78)
CIE-LCHlch(29.46, 56.61, 293.83°)
OKLaboklab(40.04% -0.0097 -0.1495)
OKLCHoklch(40.04% 0.15 266.3)
XYZxyz(7.9663, 6.0188, 30.0141)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E97 #977B22
analogous
#227997 #223E97 #412297
triadic
#223E97 #97223E #3E9722
tetradic
#223E97 #972279 #977B22 #229741
square
#223E97 #972279 #977B22 #229741
split-complementary
#223E97 #974122 #799722
monochromatic
#0C1533 #172965 #223E97 #2D53C9 #5A78DA

Accessibility & contrast

On white

9.53
#223E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#223E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E97
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E97#FFFFFF#000000##FFFFFF
##223E971.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #223e97;
/* rgb */ color: rgb(34, 62, 151);
/* oklch */ color: oklch(40.0% 0.150 266.3);
Tailwind
colors: {
  custom: {
    50: '#7072b6',
    500: '#223e97',
    950: '#000000',
  },
}
SCSS
$custom: #223e97;
$custom-light: #7072b6;
$custom-dark: #000000;
JSON
{
  "hex": "#223e97",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 151
  },
  "hsl": {
    "h": 225.641,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40041,
    "c": 0.1498,
    "h": 266.3
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#223E97
secondary
#BEA557
accent
#BF42E6
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #223E97

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

Preview Lab → · Contrast checker → · Palette generator →

#223E97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva