#223DA6#223DA6

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

Color values

HEX#223DA6
RGBrgb(34, 61, 166)
HSLhsl(228, 66%, 39%)
HSVhsv(228, 80%, 65%)
CMYKcmyk(79.5%, 63.3%, 0%, 34.9%)
CIE-LABlab(30.47, 29.34, -59.22)
CIE-LCHlch(30.47, 66.09, 296.35°)
OKLaboklab(41.19% -0.0089 -0.1713)
OKLCHoklch(41.19% 0.172 267)
XYZxyz(9.2090, 6.4297, 36.8247)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223DA6 #A68B22
analogous
#227FA6 #223DA6 #4922A6
triadic
#223DA6 #A6223D #3DA622
tetradic
#223DA6 #A6227F #A68B22 #22A649
square
#223DA6 #A6227F #A68B22 #22A649
split-complementary
#223DA6 #A64922 #7FA622
monochromatic
#0D1840 #182A73 #223DA6 #3052D5 #637DDF

Accessibility & contrast

On white

9.19
#223DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#223DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223DA6
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223DA6#FFFFFF#000000##FFFFFF
##223DA61.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA9
Deuteranopia (green-blind)
#0042A4
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #223da6;
/* rgb */ color: rgb(34, 61, 166);
/* oklch */ color: oklch(41.2% 0.172 267.0);
Tailwind
colors: {
  custom: {
    50: '#7472c1',
    500: '#223da6',
    950: '#000000',
  },
}
SCSS
$custom: #223da6;
$custom-light: #7472c1;
$custom-dark: #000000;
JSON
{
  "hex": "#223da6",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 166
  },
  "hsl": {
    "h": 227.727,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.17155,
    "h": 267
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#223DA6
secondary
#C4B05F
accent
#C63FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #223DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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