#223EA7#223EA7

#223EA7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.172 H 266.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#223EA7
RGBrgb(34, 62, 167)
HSLhsl(227, 66%, 39%)
HSVhsv(227, 80%, 65%)
CMYKcmyk(79.6%, 62.9%, 0%, 34.5%)
CIE-LABlab(30.82, 29.05, -59.26)
CIE-LCHlch(30.82, 66.00, 296.12°)
OKLaboklab(41.47% -0.0095 -0.1714)
OKLCHoklch(41.47% 0.172 266.8)
XYZxyz(9.3549, 6.5743, 37.3276)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223EA7 #A78B22
analogous
#2281A7 #223EA7 #4822A7
triadic
#223EA7 #A7223E #3EA722
tetradic
#223EA7 #A72281 #A78B22 #22A748
square
#223EA7 #A72281 #A78B22 #22A748
split-complementary
#223EA7 #A74822 #81A722
monochromatic
#0D1841 #182B74 #223EA7 #3154D5 #647EDF

Accessibility & contrast

On white

9.07
#223EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223EA7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223EA7#FFFFFF#000000##FFFFFF
##223EA71.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #223ea7;
/* rgb */ color: rgb(34, 62, 167);
/* oklch */ color: oklch(41.5% 0.172 266.8);
Tailwind
colors: {
  custom: {
    50: '#7473c2',
    500: '#223ea7',
    950: '#000000',
  },
}
SCSS
$custom: #223ea7;
$custom-light: #7473c2;
$custom-dark: #000000;
JSON
{
  "hex": "#223ea7",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 227.368,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.17167,
    "h": 266.8
  },
  "luminance": 0.06575
}

Semantic roles & 50–950 ramp

primary
#223EA7
secondary
#C5B060
accent
#C53FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #223EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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