#2223A9#2223A9

#2223A9 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.3% C 0.203 H 270.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#2223A9
RGBrgb(34, 35, 169)
HSLhsl(240, 67%, 40%)
HSVhsv(240, 80%, 66%)
CMYKcmyk(79.9%, 79.3%, 0%, 33.7%)
CIE-LABlab(24.97, 46.29, -70.09)
CIE-LCHlch(24.97, 84.00, 303.44°)
OKLaboklab(37.31% 0.0023 -0.203)
OKLCHoklch(37.31% 0.203 270.7)
XYZxyz(8.4197, 4.4058, 37.9351)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223A9 #A9A822
analogous
#2266A9 #2223A9 #6522A9
triadic
#2223A9 #A92223 #23A922
tetradic
#2223A9 #A92266 #A9A822 #22A965
square
#2223A9 #A92266 #A9A822 #22A965
split-complementary
#2223A9 #A96522 #66A922
monochromatic
#0D0E43 #181876 #2223A9 #3234D6 #6566E0

Accessibility & contrast

On white

11.16
#2223A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2223A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223A9
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223A9#FFFFFF#000000##FFFFFF
##2223A91.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0034A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2223a9;
/* rgb */ color: rgb(34, 35, 169);
/* oklch */ color: oklch(37.3% 0.203 270.7);
Tailwind
colors: {
  custom: {
    50: '#7761c4',
    500: '#2223a9',
    950: '#000000',
  },
}
SCSS
$custom: #2223a9;
$custom-light: #7761c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2223a9",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 239.556,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37313,
    "c": 0.20297,
    "h": 270.7
  },
  "luminance": 0.04407
}

Semantic roles & 50–950 ramp

primary
#2223A9
secondary
#C5C561
accent
#E83EE9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2223A9

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

Preview Lab → · Contrast checker → · Palette generator →

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