#223EB1#223EB1

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

Color values

HEX#223EB1
RGBrgb(34, 62, 177)
HSLhsl(228, 68%, 41%)
HSVhsv(228, 81%, 69%)
CMYKcmyk(80.8%, 65%, 0%, 30.6%)
CIE-LABlab(31.71, 32.84, -63.77)
CIE-LCHlch(31.71, 71.73, 297.25°)
OKLaboklab(42.41% -0.0097 -0.1846)
OKLCHoklch(42.41% 0.185 267)
XYZxyz(10.3154, 6.9584, 42.3859)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#223EB1 #B19522
analogous
#2286B1 #223EB1 #4E22B1
triadic
#223EB1 #B1223E #3EB122
tetradic
#223EB1 #B12286 #B19522 #22B14E
square
#223EB1 #B12286 #B19522 #22B14E
split-complementary
#223EB1 #B14E22 #86B122
monochromatic
#0E1A4A #182C7E #223EB1 #3857D9 #6B82E3

Accessibility & contrast

On white

8.78
#223EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #223EB1
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##223EB1#FFFFFF#000000##FFFFFF
##223EB11.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #223eb1;
/* rgb */ color: rgb(34, 62, 177);
/* oklch */ color: oklch(42.4% 0.185 267.0);
Tailwind
colors: {
  custom: {
    50: '#7673c9',
    500: '#223eb1',
    950: '#000000',
  },
}
SCSS
$custom: #223eb1;
$custom-light: #7673c9;
$custom-dark: #000000;
JSON
{
  "hex": "#223eb1",
  "rgb": {
    "r": 34,
    "g": 62,
    "b": 177
  },
  "hsl": {
    "h": 228.252,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42409,
    "c": 0.18487,
    "h": 267
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#223EB1
secondary
#C9B566
accent
#C93DEB
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #223EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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