#223DA0#223DA0

#223DA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.163 H 266.9°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#223DA0
RGBrgb(34, 61, 160)
HSLhsl(227, 65%, 38%)
HSVhsv(227, 79%, 63%)
CMYKcmyk(78.8%, 61.9%, 0%, 37.3%)
CIE-LABlab(29.95, 27.04, -56.46)
CIE-LCHlch(29.95, 62.60, 295.59°)
OKLaboklab(40.64% -0.0088 -0.1632)
OKLCHoklch(40.64% 0.163 266.9)
XYZxyz(8.6714, 6.2146, 33.9934)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223DA0 #A08522
analogous
#227CA0 #223DA0 #4622A0
triadic
#223DA0 #A0223D #3DA022
tetradic
#223DA0 #A0227C #A08522 #22A046
square
#223DA0 #A0227C #A08522 #22A046
split-complementary
#223DA0 #A04622 #7CA022
monochromatic
#0D173B #172A6E #223DA0 #2D50D2 #5F7ADD

Accessibility & contrast

On white

9.36
#223DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#223DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223DA0
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223DA0#FFFFFF#000000##FFFFFF
##223DA01.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #223da0;
/* rgb */ color: rgb(34, 61, 160);
/* oklch */ color: oklch(40.6% 0.163 266.9);
Tailwind
colors: {
  custom: {
    50: '#7272bd',
    500: '#223da0',
    950: '#000000',
  },
}
SCSS
$custom: #223da0;
$custom-light: #7272bd;
$custom-dark: #000000;
JSON
{
  "hex": "#223da0",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 160
  },
  "hsl": {
    "h": 227.143,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4064,
    "c": 0.16346,
    "h": 266.9
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#223DA0
secondary
#C2AC5C
accent
#C440E8
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #223DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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