#223DB3#223DB3

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

Color values

HEX#223DB3
RGBrgb(34, 61, 179)
HSLhsl(229, 68%, 42%)
HSVhsv(229, 81%, 70%)
CMYKcmyk(81%, 65.9%, 0%, 29.8%)
CIE-LABlab(31.65, 34.24, -65.06)
CIE-LCHlch(31.65, 73.52, 297.76°)
OKLaboklab(42.42% -0.0092 -0.1884)
OKLCHoklch(42.42% 0.189 267.2)
XYZxyz(10.4623, 6.9310, 43.4255)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223DB3 #B39822
analogous
#2285B3 #223DB3 #5022B3
triadic
#223DB3 #B3223D #3DB322
tetradic
#223DB3 #B32285 #B39822 #22B350
square
#223DB3 #B32285 #B39822 #22B350
split-complementary
#223DB3 #B35022 #85B322
monochromatic
#0E1A4C #182B80 #223DB3 #3957D9 #6C82E3

Accessibility & contrast

On white

8.80
#223DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#223DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223DB3
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223DB3#FFFFFF#000000##FFFFFF
##223DB31.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #223db3;
/* rgb */ color: rgb(34, 61, 179);
/* oklch */ color: oklch(42.4% 0.189 267.2);
Tailwind
colors: {
  custom: {
    50: '#7772cb',
    500: '#223db3',
    950: '#000000',
  },
}
SCSS
$custom: #223db3;
$custom-light: #7772cb;
$custom-dark: #000000;
JSON
{
  "hex": "#223db3",
  "rgb": {
    "r": 34,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 228.828,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42419,
    "c": 0.18864,
    "h": 267.2
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#223DB3
secondary
#C9B768
accent
#CB3DEB
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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