#223DA7#223DA7

#223DA7 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.173 H 267.1°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#223DA7
RGBrgb(34, 61, 167)
HSLhsl(228, 66%, 39%)
HSVhsv(228, 80%, 65%)
CMYKcmyk(79.6%, 63.5%, 0%, 34.5%)
CIE-LABlab(30.56, 29.72, -59.68)
CIE-LCHlch(30.56, 66.67, 296.47°)
OKLaboklab(41.28% -0.0089 -0.1726)
OKLCHoklch(41.28% 0.173 267.1)
XYZxyz(9.3010, 6.4665, 37.3097)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223DA7 #A78C22
analogous
#227FA7 #223DA7 #4A22A7
triadic
#223DA7 #A7223D #3DA722
tetradic
#223DA7 #A7227F #A78C22 #22A74A
square
#223DA7 #A7227F #A78C22 #22A74A
split-complementary
#223DA7 #A74A22 #7FA722
monochromatic
#0D1841 #182A74 #223DA7 #3152D5 #647DDF

Accessibility & contrast

On white

9.16
#223DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223DA7
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223DA7#FFFFFF#000000##FFFFFF
##223DA71.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #223da7;
/* rgb */ color: rgb(34, 61, 167);
/* oklch */ color: oklch(41.3% 0.173 267.1);
Tailwind
colors: {
  custom: {
    50: '#7472c2',
    500: '#223da7',
    950: '#000000',
  },
}
SCSS
$custom: #223da7;
$custom-light: #7472c2;
$custom-dark: #000000;
JSON
{
  "hex": "#223da7",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 227.82,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.41284,
    "c": 0.17288,
    "h": 267.1
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#223DA7
secondary
#C5B060
accent
#C73FE9
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #223DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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