#2223A6#2223A6

#2223A6 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 37.0% C 0.199 H 270.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2223A6
RGBrgb(34, 35, 166)
HSLhsl(240, 66%, 39%)
HSVhsv(240, 80%, 65%)
CMYKcmyk(79.5%, 78.9%, 0%, 34.9%)
CIE-LABlab(24.62, 45.31, -68.86)
CIE-LCHlch(24.62, 82.43, 303.35°)
OKLaboklab(36.97% 0.0029 -0.1994)
OKLCHoklch(36.97% 0.199 270.8)
XYZxyz(8.1413, 4.2944, 36.4688)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2223A6 #A6A522
analogous
#2265A6 #2223A6 #6322A6
triadic
#2223A6 #A62223 #23A622
tetradic
#2223A6 #A62265 #A6A522 #22A663
square
#2223A6 #A62265 #A6A522 #22A663
split-complementary
#2223A6 #A66322 #65A622
monochromatic
#0D0E40 #181873 #2223A6 #3032D5 #6364DF

Accessibility & contrast

On white

11.30
#2223A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2223A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2223A6
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2223A6#FFFFFF#000000##FFFFFF
##2223A61.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041AA
Deuteranopia (green-blind)
#0034A4
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2223a6;
/* rgb */ color: rgb(34, 35, 166);
/* oklch */ color: oklch(37.0% 0.199 270.8);
Tailwind
colors: {
  custom: {
    50: '#7661c2',
    500: '#2223a6',
    950: '#000000',
  },
}
SCSS
$custom: #2223a6;
$custom-light: #7661c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2223a6",
  "rgb": {
    "r": 34,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 239.545,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.36967,
    "c": 0.1994,
    "h": 270.8
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#2223A6
secondary
#C4C45F
accent
#E83FE9
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2223A6

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

Preview Lab → · Contrast checker → · Palette generator →

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