#223EB3#223EB3

#223EB3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.187 H 267.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#223EB3
RGBrgb(34, 62, 179)
HSLhsl(228, 68%, 42%)
HSVhsv(228, 81%, 70%)
CMYKcmyk(81%, 65.4%, 0%, 29.8%)
CIE-LABlab(31.90, 33.59, -64.66)
CIE-LCHlch(31.90, 72.86, 297.45°)
OKLaboklab(42.6% -0.0098 -0.1872)
OKLCHoklch(42.6% 0.187 267)
XYZxyz(10.5162, 7.0388, 43.4435)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223EB3 #B39722
analogous
#2287B3 #223EB3 #4F22B3
triadic
#223EB3 #B3223E #3EB322
tetradic
#223EB3 #B32287 #B39722 #22B34F
square
#223EB3 #B32287 #B39722 #22B34F
split-complementary
#223EB3 #B34F22 #87B322
monochromatic
#0E1A4C #182C80 #223EB3 #3958D9 #6C83E3

Accessibility & contrast

On white

8.72
#223EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#223EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #223EB3
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223EB3#FFFFFF#000000##FFFFFF
##223EB31.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #223eb3;
/* rgb */ color: rgb(34, 62, 179);
/* oklch */ color: oklch(42.6% 0.187 267.0);
Tailwind
colors: {
  custom: {
    50: '#7773cb',
    500: '#223eb3',
    950: '#000000',
  },
}
SCSS
$custom: #223eb3;
$custom-light: #7773cb;
$custom-dark: #000000;
JSON
{
  "hex": "#223eb3",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 228.414,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.42599,
    "c": 0.18747,
    "h": 267
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#223EB3
secondary
#C9B668
accent
#C93DEB
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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