#2223A7#2223A7

#2223A7 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.1% C 0.201 H 270.8°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#2223A7
RGBrgb(34, 35, 167)
HSLhsl(240, 66%, 39%)
HSVhsv(240, 80%, 65%)
CMYKcmyk(79.6%, 79%, 0%, 34.5%)
CIE-LABlab(24.74, 45.64, -69.27)
CIE-LCHlch(24.74, 82.95, 303.38°)
OKLaboklab(37.08% 0.0027 -0.2006)
OKLCHoklch(37.08% 0.201 270.8)
XYZxyz(8.2334, 4.3312, 36.9538)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223A7 #A7A622
analogous
#2266A7 #2223A7 #6422A7
triadic
#2223A7 #A72223 #23A722
tetradic
#2223A7 #A72266 #A7A622 #22A764
square
#2223A7 #A72266 #A7A622 #22A764
split-complementary
#2223A7 #A76422 #66A722
monochromatic
#0D0E41 #181874 #2223A7 #3132D5 #6465DF

Accessibility & contrast

On white

11.25
#2223A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2223A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223A7
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223A7#FFFFFF#000000##FFFFFF
##2223A71.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AB
Deuteranopia (green-blind)
#0034A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2223a7;
/* rgb */ color: rgb(34, 35, 167);
/* oklch */ color: oklch(37.1% 0.201 270.8);
Tailwind
colors: {
  custom: {
    50: '#7661c3',
    500: '#2223a7',
    950: '#000000',
  },
}
SCSS
$custom: #2223a7;
$custom-light: #7661c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2223a7",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 239.549,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37082,
    "c": 0.20059,
    "h": 270.8
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#2223A7
secondary
#C5C460
accent
#E83FE9
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2223A7

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

Preview Lab → · Contrast checker → · Palette generator →

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