#2223A5#2223A5

#2223A5 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.198 H 270.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2223A5
RGBrgb(34, 35, 165)
HSLhsl(240, 66%, 39%)
HSVhsv(240, 79%, 65%)
CMYKcmyk(79.4%, 78.8%, 0%, 35.3%)
CIE-LABlab(24.51, 44.98, -68.44)
CIE-LCHlch(24.51, 81.90, 303.31°)
OKLaboklab(36.85% 0.0031 -0.1982)
OKLCHoklch(36.85% 0.198 270.9)
XYZxyz(8.0499, 4.2579, 35.9876)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223A5 #A5A422
analogous
#2265A5 #2223A5 #6322A5
triadic
#2223A5 #A52223 #23A522
tetradic
#2223A5 #A52265 #A5A422 #22A563
square
#2223A5 #A52265 #A5A422 #22A563
split-complementary
#2223A5 #A56322 #65A522
monochromatic
#0D0D40 #181872 #2223A5 #3031D4 #6364DF

Accessibility & contrast

On white

11.34
#2223A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2223A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223A5
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223A5#FFFFFF#000000##FFFFFF
##2223A51.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A9
Deuteranopia (green-blind)
#0033A3
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2223a5;
/* rgb */ color: rgb(34, 35, 165);
/* oklch */ color: oklch(36.9% 0.198 270.9);
Tailwind
colors: {
  custom: {
    50: '#7660c1',
    500: '#2223a5',
    950: '#000000',
  },
}
SCSS
$custom: #2223a5;
$custom-light: #7660c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2223a5",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 239.542,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36852,
    "c": 0.19819,
    "h": 270.9
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#2223A5
secondary
#C4C35F
accent
#E73FE9
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2223A5

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

Preview Lab → · Contrast checker → · Palette generator →

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