#223EA0#223EA0

#223EA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.162 H 266.6°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#223EA0
RGBrgb(34, 62, 160)
HSLhsl(227, 65%, 38%)
HSVhsv(227, 79%, 63%)
CMYKcmyk(78.8%, 61.2%, 0%, 37.3%)
CIE-LABlab(30.21, 26.37, -56.03)
CIE-LCHlch(30.21, 61.92, 295.20°)
OKLaboklab(40.84% -0.0095 -0.1619)
OKLCHoklch(40.84% 0.162 266.6)
XYZxyz(8.7253, 6.3224, 34.0114)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223EA0 #A08422
analogous
#227DA0 #223EA0 #4522A0
triadic
#223EA0 #A0223E #3EA022
tetradic
#223EA0 #A0227D #A08422 #22A045
square
#223EA0 #A0227D #A08422 #22A045
split-complementary
#223EA0 #A04522 #7DA022
monochromatic
#0D173B #172A6E #223EA0 #2D52D2 #5F7BDD

Accessibility & contrast

On white

9.27
#223EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#223EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223EA0
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223EA0#FFFFFF#000000##FFFFFF
##223EA01.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223ea0;
/* rgb */ color: rgb(34, 62, 160);
/* oklch */ color: oklch(40.8% 0.162 266.6);
Tailwind
colors: {
  custom: {
    50: '#7272bd',
    500: '#223ea0',
    950: '#000000',
  },
}
SCSS
$custom: #223ea0;
$custom-light: #7272bd;
$custom-dark: #000000;
JSON
{
  "hex": "#223ea0",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 226.667,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.16222,
    "h": 266.6
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#223EA0
secondary
#C2AB5C
accent
#C340E8
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #223EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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