#2223A2#2223A2

#2223A2 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.195 H 271.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2223A2
RGBrgb(34, 35, 162)
HSLhsl(240, 65%, 38%)
HSVhsv(240, 79%, 64%)
CMYKcmyk(79%, 78.4%, 0%, 36.5%)
CIE-LABlab(24.16, 43.99, -67.19)
CIE-LCHlch(24.16, 80.31, 303.21°)
OKLaboklab(36.51% 0.0037 -0.1945)
OKLCHoklch(36.51% 0.195 271.1)
XYZxyz(7.7801, 4.1499, 34.5664)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223A2 #A2A122
analogous
#2263A2 #2223A2 #6122A2
triadic
#2223A2 #A22223 #23A222
tetradic
#2223A2 #A22263 #A2A122 #22A261
square
#2223A2 #A22263 #A2A122 #22A261
split-complementary
#2223A2 #A26122 #63A222
monochromatic
#0D0D3D #17186F #2223A2 #2E2FD3 #6162DE

Accessibility & contrast

On white

11.47
#2223A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2223A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223A2
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223A2#FFFFFF#000000##FFFFFF
##2223A21.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0033A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2223a2;
/* rgb */ color: rgb(34, 35, 162);
/* oklch */ color: oklch(36.5% 0.195 271.1);
Tailwind
colors: {
  custom: {
    50: '#7560bf',
    500: '#2223a2',
    950: '#000000',
  },
}
SCSS
$custom: #2223a2;
$custom-light: #7560bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2223a2",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 239.531,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36509,
    "c": 0.19459,
    "h": 271.1
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#2223A2
secondary
#C3C25D
accent
#E740E8
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2223A2

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

Preview Lab → · Contrast checker → · Palette generator →

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