#223EA6#223EA6

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

Color values

HEX#223EA6
RGBrgb(34, 62, 166)
HSLhsl(227, 66%, 39%)
HSVhsv(227, 80%, 65%)
CMYKcmyk(79.5%, 62.7%, 0%, 34.9%)
CIE-LABlab(30.73, 28.67, -58.80)
CIE-LCHlch(30.73, 65.42, 296.00°)
OKLaboklab(41.38% -0.0095 -0.1701)
OKLCHoklch(41.38% 0.17 266.8)
XYZxyz(9.2628, 6.5374, 36.8427)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223EA6 #A68A22
analogous
#2280A6 #223EA6 #4822A6
triadic
#223EA6 #A6223E #3EA622
tetradic
#223EA6 #A62280 #A68A22 #22A648
square
#223EA6 #A62280 #A68A22 #22A648
split-complementary
#223EA6 #A64822 #80A622
monochromatic
#0D1840 #182B73 #223EA6 #3053D5 #637EDF

Accessibility & contrast

On white

9.10
#223EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#223EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223EA6
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223EA6#FFFFFF#000000##FFFFFF
##223EA61.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #223ea6;
/* rgb */ color: rgb(34, 62, 166);
/* oklch */ color: oklch(41.4% 0.170 266.8);
Tailwind
colors: {
  custom: {
    50: '#7473c1',
    500: '#223ea6',
    950: '#000000',
  },
}
SCSS
$custom: #223ea6;
$custom-light: #7473c1;
$custom-dark: #000000;
JSON
{
  "hex": "#223ea6",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 166
  },
  "hsl": {
    "h": 227.273,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41382,
    "c": 0.17033,
    "h": 266.8
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #223EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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