#223EA4#223EA4

#223EA4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.168 H 266.8°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#223EA4
RGBrgb(34, 62, 164)
HSLhsl(227, 66%, 39%)
HSVhsv(227, 79%, 64%)
CMYKcmyk(79.3%, 62.2%, 0%, 35.7%)
CIE-LABlab(30.56, 27.91, -57.88)
CIE-LCHlch(30.56, 64.26, 295.74°)
OKLaboklab(41.2% -0.0095 -0.1674)
OKLCHoklch(41.2% 0.168 266.8)
XYZxyz(9.0808, 6.4646, 35.8840)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223EA4 #A48822
analogous
#227FA4 #223EA4 #4722A4
triadic
#223EA4 #A4223E #3EA422
tetradic
#223EA4 #A4227F #A48822 #22A447
square
#223EA4 #A4227F #A48822 #22A447
split-complementary
#223EA4 #A44722 #7FA422
monochromatic
#0D183F #172B71 #223EA4 #2F53D4 #627DDE

Accessibility & contrast

On white

9.16
#223EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#223EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223EA4
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223EA4#FFFFFF#000000##FFFFFF
##223EA41.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #223ea4;
/* rgb */ color: rgb(34, 62, 164);
/* oklch */ color: oklch(41.2% 0.168 266.8);
Tailwind
colors: {
  custom: {
    50: '#7373c0',
    500: '#223ea4',
    950: '#000000',
  },
}
SCSS
$custom: #223ea4;
$custom-light: #7373c0;
$custom-dark: #000000;
JSON
{
  "hex": "#223ea4",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 164
  },
  "hsl": {
    "h": 227.077,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.41199,
    "c": 0.16764,
    "h": 266.8
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#223EA4
secondary
#C4AE5E
accent
#C43FE9
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #223EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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