#223CA7#223CA7

#223CA7 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.174 H 267.3°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#223CA7
RGBrgb(34, 60, 167)
HSLhsl(228, 66%, 39%)
HSVhsv(228, 80%, 65%)
CMYKcmyk(79.6%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.31, 30.38, -60.10)
CIE-LCHlch(30.31, 67.34, 296.82°)
OKLaboklab(41.1% -0.0083 -0.1739)
OKLCHoklch(41.1% 0.174 267.3)
XYZxyz(9.2482, 6.3608, 37.2921)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223CA7 #A78D22
analogous
#227EA7 #223CA7 #4B22A7
triadic
#223CA7 #A7223C #3CA722
tetradic
#223CA7 #A7227E #A78D22 #22A74B
square
#223CA7 #A7227E #A78D22 #22A74B
split-complementary
#223CA7 #A74B22 #7EA722
monochromatic
#0D1741 #182A74 #223CA7 #3151D5 #647CDF

Accessibility & contrast

On white

9.24
#223CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#223CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223CA7
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223CA7#FFFFFF#000000##FFFFFF
##223CA71.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0041A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223ca7;
/* rgb */ color: rgb(34, 60, 167);
/* oklch */ color: oklch(41.1% 0.174 267.3);
Tailwind
colors: {
  custom: {
    50: '#7471c2',
    500: '#223ca7',
    950: '#000000',
  },
}
SCSS
$custom: #223ca7;
$custom-light: #7471c2;
$custom-dark: #000000;
JSON
{
  "hex": "#223ca7",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 228.271,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41095,
    "c": 0.17409,
    "h": 267.3
  },
  "luminance": 0.06362
}

Semantic roles & 50–950 ramp

primary
#223CA7
secondary
#C5B160
accent
#C83FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #223CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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