#223CA1#223CA1

#223CA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.166 H 267.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#223CA1
RGBrgb(34, 60, 161)
HSLhsl(228, 65%, 38%)
HSVhsv(228, 79%, 63%)
CMYKcmyk(78.9%, 62.7%, 0%, 36.9%)
CIE-LABlab(29.77, 28.09, -57.35)
CIE-LCHlch(29.77, 63.86, 296.10°)
OKLaboklab(40.54% -0.0082 -0.1658)
OKLCHoklch(40.54% 0.166 267.2)
XYZxyz(8.7063, 6.1440, 34.4384)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223CA1 #A18722
analogous
#227BA1 #223CA1 #4822A1
triadic
#223CA1 #A1223C #3CA122
tetradic
#223CA1 #A1227B #A18722 #22A148
square
#223CA1 #A1227B #A18722 #22A148
split-complementary
#223CA1 #A14822 #7BA122
monochromatic
#0D163C #17296E #223CA1 #2D4FD3 #607ADD

Accessibility & contrast

On white

9.42
#223CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#223CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223CA1
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223CA1#FFFFFF#000000##FFFFFF
##223CA11.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00409F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #223ca1;
/* rgb */ color: rgb(34, 60, 161);
/* oklch */ color: oklch(40.5% 0.166 267.2);
Tailwind
colors: {
  custom: {
    50: '#7271be',
    500: '#223ca1',
    950: '#000000',
  },
}
SCSS
$custom: #223ca1;
$custom-light: #7271be;
$custom-dark: #000000;
JSON
{
  "hex": "#223ca1",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 227.717,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40538,
    "c": 0.16604,
    "h": 267.2
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#223CA1
secondary
#C2AD5D
accent
#C640E8
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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