#2147AE#2147AE

#2147AE is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.170 H 264.7°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2147AE
RGBrgb(33, 71, 174)
HSLhsl(224, 68%, 41%)
HSVhsv(224, 81%, 68%)
CMYKcmyk(81%, 59.2%, 0%, 31.8%)
CIE-LABlab(33.74, 25.65, -58.67)
CIE-LCHlch(33.74, 64.03, 293.61°)
OKLaboklab(43.83% -0.0157 -0.1696)
OKLCHoklch(43.83% 0.17 264.7)
XYZxyz(10.5177, 7.8846, 41.0037)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147AE #AE8821
analogous
#218DAE #2147AE #4221AE
triadic
#2147AE #AE2147 #47AE21
tetradic
#2147AE #AE218D #AE8821 #21AE42
square
#2147AE #AE218D #AE8821 #21AE42
split-complementary
#2147AE #AE4221 #8DAE21
monochromatic
#0D1D47 #17327B #2147AE #3460D8 #6788E2

Accessibility & contrast

On white

8.15
#2147AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2147AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147AE
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147AE#FFFFFF#000000##FFFFFF
##2147AE1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2147ae;
/* rgb */ color: rgb(33, 71, 174);
/* oklch */ color: oklch(43.8% 0.170 264.7);
Tailwind
colors: {
  custom: {
    50: '#7579c7',
    500: '#2147ae',
    950: '#000000',
  },
}
SCSS
$custom: #2147ae;
$custom-light: #7579c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2147ae",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 223.83,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43825,
    "c": 0.17029,
    "h": 264.7
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2147AE

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

Preview Lab → · Contrast checker → · Palette generator →

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