#2223AC#2223AC

#2223AC is a dark, highly saturated blue. Relative luminance 0.045; OKLCH L 37.7% C 0.207 H 270.5°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2223AC
RGBrgb(34, 35, 172)
HSLhsl(240, 67%, 40%)
HSVhsv(240, 80%, 67%)
CMYKcmyk(80.2%, 79.7%, 0%, 32.5%)
CIE-LABlab(25.32, 47.27, -71.32)
CIE-LCHlch(25.32, 85.56, 303.54°)
OKLaboklab(37.66% 0.0017 -0.2065)
OKLCHoklch(37.66% 0.207 270.5)
XYZxyz(8.7046, 4.5197, 39.4354)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223AC #ACAB22
analogous
#2268AC #2223AC #6622AC
triadic
#2223AC #AC2223 #23AC22
tetradic
#2223AC #AC2268 #ACAB22 #22AC66
square
#2223AC #AC2268 #ACAB22 #22AC66
split-complementary
#2223AC #AC6622 #68AC22
monochromatic
#0E0E46 #181979 #2223AC #3435D7 #6768E1

Accessibility & contrast

On white

11.03
#2223AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2223AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223AC
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223AC#FFFFFF#000000##FFFFFF
##2223AC1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B0
Deuteranopia (green-blind)
#0035AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2223ac;
/* rgb */ color: rgb(34, 35, 172);
/* oklch */ color: oklch(37.7% 0.207 270.5);
Tailwind
colors: {
  custom: {
    50: '#7861c6',
    500: '#2223ac',
    950: '#000000',
  },
}
SCSS
$custom: #2223ac;
$custom-light: #7861c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2223ac",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 172
  },
  "hsl": {
    "h": 239.565,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3766,
    "c": 0.20653,
    "h": 270.5
  },
  "luminance": 0.04521
}

Semantic roles & 50–950 ramp

primary
#2223AC
secondary
#C7C663
accent
#E93EEA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2223AC

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

Preview Lab → · Contrast checker → · Palette generator →

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