#223EA8#223EA8

#223EA8 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.173 H 266.9°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#223EA8
RGBrgb(34, 62, 168)
HSLhsl(227, 66%, 40%)
HSVhsv(227, 80%, 66%)
CMYKcmyk(79.8%, 63.1%, 0%, 34.1%)
CIE-LABlab(30.91, 29.44, -59.71)
CIE-LCHlch(30.91, 66.57, 296.24°)
OKLaboklab(41.57% -0.0095 -0.1727)
OKLCHoklch(41.57% 0.173 266.9)
XYZxyz(9.4477, 6.6114, 37.8164)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223EA8 #A88C22
analogous
#2281A8 #223EA8 #4922A8
triadic
#223EA8 #A8223E #3EA822
tetradic
#223EA8 #A82281 #A88C22 #22A849
square
#223EA8 #A82281 #A88C22 #22A849
split-complementary
#223EA8 #A84922 #81A822
monochromatic
#0D1842 #182B75 #223EA8 #3254D5 #657EE0

Accessibility & contrast

On white

9.04
#223EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#223EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223EA8
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223EA8#FFFFFF#000000##FFFFFF
##223EA81.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0043A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #223ea8;
/* rgb */ color: rgb(34, 62, 168);
/* oklch */ color: oklch(41.6% 0.173 266.9);
Tailwind
colors: {
  custom: {
    50: '#7473c3',
    500: '#223ea8',
    950: '#000000',
  },
}
SCSS
$custom: #223ea8;
$custom-light: #7473c3;
$custom-dark: #000000;
JSON
{
  "hex": "#223ea8",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 227.463,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41566,
    "c": 0.17301,
    "h": 266.9
  },
  "luminance": 0.06612
}

Semantic roles & 50–950 ramp

primary
#223EA8
secondary
#C5B061
accent
#C63FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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