#223E9D#223E9D

#223E9D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.158 H 266.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#223E9D
RGBrgb(34, 62, 157)
HSLhsl(226, 64%, 37%)
HSVhsv(226, 78%, 62%)
CMYKcmyk(78.3%, 60.5%, 0%, 38.4%)
CIE-LABlab(29.96, 25.20, -54.62)
CIE-LCHlch(29.96, 60.16, 294.77°)
OKLaboklab(40.57% -0.0095 -0.1578)
OKLCHoklch(40.57% 0.158 266.5)
XYZxyz(8.4660, 6.2187, 32.6459)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223E9D #9D8122
analogous
#227C9D #223E9D #43229D
triadic
#223E9D #9D223E #3E9D22
tetradic
#223E9D #9D227C #9D8122 #229D43
square
#223E9D #9D227C #9D8122 #229D43
split-complementary
#223E9D #9D4322 #7C9D22
monochromatic
#0C1638 #172A6B #223E9D #2D52CF #5D7ADC

Accessibility & contrast

On white

9.36
#223E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#223E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223E9D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223E9D#FFFFFF#000000##FFFFFF
##223E9D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#00419B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223e9d;
/* rgb */ color: rgb(34, 62, 157);
/* oklch */ color: oklch(40.6% 0.158 266.5);
Tailwind
colors: {
  custom: {
    50: '#7172bb',
    500: '#223e9d',
    950: '#000000',
  },
}
SCSS
$custom: #223e9d;
$custom-light: #7172bb;
$custom-dark: #000000;
JSON
{
  "hex": "#223e9d",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 157
  },
  "hsl": {
    "h": 226.341,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40568,
    "c": 0.15812,
    "h": 266.5
  },
  "luminance": 0.0622
}

Semantic roles & 50–950 ramp

primary
#223E9D
secondary
#C1A95A
accent
#C140E7
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #223E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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