#2147AD#2147AD

#2147AD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.169 H 264.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2147AD
RGBrgb(33, 71, 173)
HSLhsl(224, 68%, 40%)
HSVhsv(224, 81%, 68%)
CMYKcmyk(80.9%, 59%, 0%, 32.2%)
CIE-LABlab(33.66, 25.26, -58.21)
CIE-LCHlch(33.66, 63.45, 293.46°)
OKLaboklab(43.74% -0.0157 -0.1682)
OKLCHoklch(43.74% 0.169 264.7)
XYZxyz(10.4206, 7.8457, 40.4922)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147AD #AD8721
analogous
#218DAD #2147AD #4121AD
triadic
#2147AD #AD2147 #47AD21
tetradic
#2147AD #AD218D #AD8721 #21AD41
square
#2147AD #AD218D #AD8721 #21AD41
split-complementary
#2147AD #AD4121 #8DAD21
monochromatic
#0D1D46 #17327A #2147AD #3360D8 #6688E2

Accessibility & contrast

On white

8.17
#2147AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2147AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147AD
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147AD#FFFFFF#000000##FFFFFF
##2147AD1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2147ad;
/* rgb */ color: rgb(33, 71, 173);
/* oklch */ color: oklch(43.7% 0.169 264.7);
Tailwind
colors: {
  custom: {
    50: '#7479c6',
    500: '#2147ad',
    950: '#000000',
  },
}
SCSS
$custom: #2147ad;
$custom-light: #7479c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2147ad",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 223.714,
    "s": 67.961,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.16895,
    "h": 264.7
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#2147AD
secondary
#C7AC62
accent
#BC3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2147AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2147AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva