#2223D5#2223D5

#2223D5 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.5% C 0.253 H 268.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#2223D5
RGBrgb(34, 35, 213)
HSLhsl(240, 72%, 48%)
HSVhsv(240, 84%, 84%)
CMYKcmyk(84%, 83.6%, 0%, 16.5%)
CIE-LABlab(30.27, 59.95, -87.30)
CIE-LCHlch(30.27, 105.90, 304.48°)
OKLaboklab(42.51% -0.0064 -0.2527)
OKLCHoklch(42.51% 0.253 268.5)
XYZxyz(13.2669, 6.3446, 63.4633)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223D5 #D5D422
analogous
#227CD5 #2223D5 #7A22D5
triadic
#2223D5 #D52223 #23D522
tetradic
#2223D5 #D5227C #D5D422 #22D57A
square
#2223D5 #D5227C #D5D422 #22D57A
split-complementary
#2223D5 #D57A22 #7CD522
monochromatic
#11126B #1A1AA0 #2223D5 #5152E3 #8686EC

Accessibility & contrast

On white

9.25
#2223D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2223D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223D5
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223D5#FFFFFF#000000##FFFFFF
##2223D51.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050DA
Deuteranopia (green-blind)
#003DD2
Tritanopia (blue-blind)
#005E7F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2223d5;
/* rgb */ color: rgb(34, 35, 213);
/* oklch */ color: oklch(42.5% 0.253 268.5);
Tailwind
colors: {
  custom: {
    50: '#8264e4',
    500: '#2223d5',
    950: '#000000',
  },
}
SCSS
$custom: #2223d5;
$custom-light: #8264e4;
$custom-dark: #000000;
JSON
{
  "hex": "#2223d5",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 213
  },
  "hsl": {
    "h": 239.665,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.2528,
    "h": 268.5
  },
  "luminance": 0.06346
}

Semantic roles & 50–950 ramp

primary
#2223D5
secondary
#D5D47E
accent
#EE39EF
background
#F9F6FE
surface
#F1EBFC
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #2223D5

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

Preview Lab → · Contrast checker → · Palette generator →

#2223D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva