#2223A8#2223A8

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

Color values

HEX#2223A8
RGBrgb(34, 35, 168)
HSLhsl(240, 66%, 40%)
HSVhsv(240, 80%, 66%)
CMYKcmyk(79.8%, 79.2%, 0%, 34.1%)
CIE-LABlab(24.85, 45.97, -69.68)
CIE-LCHlch(24.85, 83.48, 303.41°)
OKLaboklab(37.2% 0.0025 -0.2018)
OKLCHoklch(37.2% 0.202 270.7)
XYZxyz(8.3262, 4.3684, 37.4426)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223A8 #A8A722
analogous
#2266A8 #2223A8 #6422A8
triadic
#2223A8 #A82223 #23A822
tetradic
#2223A8 #A82266 #A8A722 #22A864
square
#2223A8 #A82266 #A8A722 #22A864
split-complementary
#2223A8 #A86422 #66A822
monochromatic
#0D0E42 #181875 #2223A8 #3233D5 #6566E0

Accessibility & contrast

On white

11.21
#2223A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2223A8
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223A8#FFFFFF#000000##FFFFFF
##2223A81.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AC
Deuteranopia (green-blind)
#0034A6
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2223a8;
/* rgb */ color: rgb(34, 35, 168);
/* oklch */ color: oklch(37.2% 0.202 270.7);
Tailwind
colors: {
  custom: {
    50: '#7761c3',
    500: '#2223a8',
    950: '#000000',
  },
}
SCSS
$custom: #2223a8;
$custom-light: #7761c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2223a8",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 239.552,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.37197,
    "c": 0.20179,
    "h": 270.7
  },
  "luminance": 0.04369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2223A8

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

Preview Lab → · Contrast checker → · Palette generator →

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