#223DB1#223DB1

#223DB1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.186 H 267.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#223DB1
RGBrgb(34, 61, 177)
HSLhsl(229, 68%, 41%)
HSVhsv(229, 81%, 69%)
CMYKcmyk(80.8%, 65.5%, 0%, 30.6%)
CIE-LABlab(31.46, 33.49, -64.18)
CIE-LCHlch(31.46, 72.39, 297.56°)
OKLaboklab(42.23% -0.0092 -0.1858)
OKLCHoklch(42.23% 0.186 267.2)
XYZxyz(10.2615, 6.8507, 42.3679)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223DB1 #B19622
analogous
#2285B1 #223DB1 #4E22B1
triadic
#223DB1 #B1223D #3DB122
tetradic
#223DB1 #B12285 #B19622 #22B14E
square
#223DB1 #B12285 #B19622 #22B14E
split-complementary
#223DB1 #B14E22 #85B122
monochromatic
#0E1A4A #182B7E #223DB1 #3856D9 #6B81E3

Accessibility & contrast

On white

8.86
#223DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#223DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223DB1
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223DB1#FFFFFF#000000##FFFFFF
##223DB11.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0043AF
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #223db1;
/* rgb */ color: rgb(34, 61, 177);
/* oklch */ color: oklch(42.2% 0.186 267.2);
Tailwind
colors: {
  custom: {
    50: '#7672c9',
    500: '#223db1',
    950: '#000000',
  },
}
SCSS
$custom: #223db1;
$custom-light: #7672c9;
$custom-dark: #000000;
JSON
{
  "hex": "#223db1",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 228.671,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42227,
    "c": 0.18605,
    "h": 267.2
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#223DB1
secondary
#C9B666
accent
#CA3DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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