#223CA8#223CA8

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

Color values

HEX#223CA8
RGBrgb(34, 60, 168)
HSLhsl(228, 66%, 40%)
HSVhsv(228, 80%, 66%)
CMYKcmyk(79.8%, 64.3%, 0%, 34.1%)
CIE-LABlab(30.39, 30.76, -60.55)
CIE-LCHlch(30.39, 67.91, 296.93°)
OKLaboklab(41.19% -0.0083 -0.1752)
OKLCHoklch(41.19% 0.175 267.3)
XYZxyz(9.3410, 6.3979, 37.7808)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223CA8 #A88E22
analogous
#227FA8 #223CA8 #4B22A8
triadic
#223CA8 #A8223C #3CA822
tetradic
#223CA8 #A8227F #A88E22 #22A84B
square
#223CA8 #A8227F #A88E22 #22A84B
split-complementary
#223CA8 #A84B22 #7FA822
monochromatic
#0D1842 #182A75 #223CA8 #3252D5 #657DE0

Accessibility & contrast

On white

9.21
#223CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#223CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223CA8
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223CA8#FFFFFF#000000##FFFFFF
##223CA81.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0041A6
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #223ca8;
/* rgb */ color: rgb(34, 60, 168);
/* oklch */ color: oklch(41.2% 0.175 267.3);
Tailwind
colors: {
  custom: {
    50: '#7471c3',
    500: '#223ca8',
    950: '#000000',
  },
}
SCSS
$custom: #223ca8;
$custom-light: #7471c3;
$custom-dark: #000000;
JSON
{
  "hex": "#223ca8",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 168
  },
  "hsl": {
    "h": 228.358,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41189,
    "c": 0.17542,
    "h": 267.3
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#223CA8
secondary
#C5B261
accent
#C83FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #223CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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