#223CA5#223CA5

#223CA5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.9% C 0.171 H 267.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#223CA5
RGBrgb(34, 60, 165)
HSLhsl(228, 66%, 39%)
HSVhsv(228, 79%, 65%)
CMYKcmyk(79.4%, 63.6%, 0%, 35.3%)
CIE-LABlab(30.13, 29.62, -59.18)
CIE-LCHlch(30.13, 66.18, 296.59°)
OKLaboklab(40.91% -0.0082 -0.1712)
OKLCHoklch(40.91% 0.171 267.2)
XYZxyz(9.0647, 6.2874, 36.3259)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223CA5 #A58B22
analogous
#227EA5 #223CA5 #4A22A5
triadic
#223CA5 #A5223C #3CA522
tetradic
#223CA5 #A5227E #A58B22 #22A54A
square
#223CA5 #A5227E #A58B22 #22A54A
split-complementary
#223CA5 #A54A22 #7EA522
monochromatic
#0D1740 #182A72 #223CA5 #3051D4 #637BDF

Accessibility & contrast

On white

9.30
#223CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223CA5
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223CA5#FFFFFF#000000##FFFFFF
##223CA51.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00576B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223ca5;
/* rgb */ color: rgb(34, 60, 165);
/* oklch */ color: oklch(40.9% 0.171 267.2);
Tailwind
colors: {
  custom: {
    50: '#7371c1',
    500: '#223ca5',
    950: '#000000',
  },
}
SCSS
$custom: #223ca5;
$custom-light: #7371c1;
$custom-dark: #000000;
JSON
{
  "hex": "#223ca5",
  "rgb": {
    "r": 34,
    "g": 60,
    "b": 165
  },
  "hsl": {
    "h": 228.092,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40908,
    "c": 0.17142,
    "h": 267.2
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#223CA5
secondary
#C4B05F
accent
#C73FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #223CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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