#2218A0#2218A0

#2218A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.0% C 0.201 H 272.1°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#2218A0
RGBrgb(34, 24, 160)
HSLhsl(244, 74%, 36%)
HSVhsv(244, 85%, 63%)
CMYKcmyk(78.8%, 85%, 0%, 37.3%)
CIE-LABlab(22.05, 48.79, -69.47)
CIE-LCHlch(22.05, 84.89, 305.08°)
OKLaboklab(34.97% 0.0073 -0.201)
OKLCHoklch(34.97% 0.201 272.1)
XYZxyz(7.3294, 3.5306, 33.5461)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2218A0 #96A018
analogous
#1852A0 #2218A0 #6618A0
triadic
#2218A0 #A02218 #18A022
tetradic
#2218A0 #A01852 #96A018 #18A066
square
#2218A0 #A01852 #96A018 #18A066
split-complementary
#2218A0 #A06618 #52A018
monochromatic
#0B0836 #17106B #2218A0 #2D20D5 #594EE4

Accessibility & contrast

On white

12.31
#2218A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2218A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2218A0
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2218A0#FFFFFF#000000##FFFFFF
##2218A01.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA4
Deuteranopia (green-blind)
#002E9E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2218a0;
/* rgb */ color: rgb(34, 24, 160);
/* oklch */ color: oklch(35.0% 0.201 272.1);
Tailwind
colors: {
  custom: {
    50: '#765abe',
    500: '#2218a0',
    950: '#000000',
  },
}
SCSS
$custom: #2218a0;
$custom-light: #765abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2218a0",
  "rgb": {
    "r": 34,
    "g": 24,
    "b": 160
  },
  "hsl": {
    "h": 244.412,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.34974,
    "c": 0.20109,
    "h": 272.1
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#2218A0
secondary
#BEC64D
accent
#F137E3
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2218A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2218A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva