#223CA0#223CA0

#223CA0 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.4% C 0.165 H 267.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#223CA0
RGBrgb(34, 60, 160)
HSLhsl(228, 65%, 38%)
HSVhsv(228, 79%, 63%)
CMYKcmyk(78.8%, 62.5%, 0%, 37.3%)
CIE-LABlab(29.69, 27.71, -56.89)
CIE-LCHlch(29.69, 63.28, 295.97°)
OKLaboklab(40.45% -0.0082 -0.1645)
OKLCHoklch(40.45% 0.165 267.1)
XYZxyz(8.6185, 6.1089, 33.9758)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223CA0 #A08622
analogous
#227BA0 #223CA0 #4722A0
triadic
#223CA0 #A0223C #3CA022
tetradic
#223CA0 #A0227B #A08622 #22A047
square
#223CA0 #A0227B #A08622 #22A047
split-complementary
#223CA0 #A04722 #7BA022
monochromatic
#0D163B #17296E #223CA0 #2D4FD2 #5F79DD

Accessibility & contrast

On white

9.45
#223CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#223CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223CA0
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223CA0#FFFFFF#000000##FFFFFF
##223CA01.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #223ca0;
/* rgb */ color: rgb(34, 60, 160);
/* oklch */ color: oklch(40.4% 0.165 267.1);
Tailwind
colors: {
  custom: {
    50: '#7271bd',
    500: '#223ca0',
    950: '#000000',
  },
}
SCSS
$custom: #223ca0;
$custom-light: #7271bd;
$custom-dark: #000000;
JSON
{
  "hex": "#223ca0",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 227.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.16469,
    "h": 267.1
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#223CA0
secondary
#C2AD5C
accent
#C540E8
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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