#223E9E#223E9E

#223E9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.159 H 266.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#223E9E
RGBrgb(34, 62, 158)
HSLhsl(226, 65%, 38%)
HSVhsv(226, 78%, 62%)
CMYKcmyk(78.5%, 60.8%, 0%, 38%)
CIE-LABlab(30.04, 25.59, -55.09)
CIE-LCHlch(30.04, 60.75, 294.92°)
OKLaboklab(40.66% -0.0095 -0.1592)
OKLCHoklch(40.66% 0.159 266.6)
XYZxyz(8.5517, 6.2530, 33.0974)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E9E #9E8222
analogous
#227C9E #223E9E #44229E
triadic
#223E9E #9E223E #3E9E22
tetradic
#223E9E #9E227C #9E8222 #229E44
square
#223E9E #9E227C #9E8222 #229E44
split-complementary
#223E9E #9E4422 #7C9E22
monochromatic
#0C1639 #172A6C #223E9E #2D52D0 #5E7BDC

Accessibility & contrast

On white

9.33
#223E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#223E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E9E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E9E#FFFFFF#000000##FFFFFF
##223E9E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223e9e;
/* rgb */ color: rgb(34, 62, 158);
/* oklch */ color: oklch(40.7% 0.159 266.6);
Tailwind
colors: {
  custom: {
    50: '#7272bb',
    500: '#223e9e',
    950: '#000000',
  },
}
SCSS
$custom: #223e9e;
$custom-light: #7272bb;
$custom-dark: #000000;
JSON
{
  "hex": "#223e9e",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 158
  },
  "hsl": {
    "h": 226.452,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40658,
    "c": 0.15948,
    "h": 266.6
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#223E9E
secondary
#C1AA5B
accent
#C240E8
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #223E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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