#2147AC#2147AC

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

Color values

HEX#2147AC
RGBrgb(33, 71, 172)
HSLhsl(224, 68%, 40%)
HSVhsv(224, 81%, 67%)
CMYKcmyk(80.8%, 58.7%, 0%, 32.5%)
CIE-LABlab(33.58, 24.87, -57.74)
CIE-LCHlch(33.58, 62.87, 293.30°)
OKLaboklab(43.65% -0.0157 -0.1669)
OKLCHoklch(43.65% 0.168 264.6)
XYZxyz(10.3242, 7.8071, 39.9845)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147AC #AC8621
analogous
#218DAC #2147AC #4021AC
triadic
#2147AC #AC2147 #47AC21
tetradic
#2147AC #AC218D #AC8621 #21AC40
square
#2147AC #AC218D #AC8621 #21AC40
split-complementary
#2147AC #AC4021 #8DAC21
monochromatic
#0D1D45 #173279 #2147AC #3260D8 #6688E2

Accessibility & contrast

On white

8.20
#2147AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2147AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147AC
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147AC#FFFFFF#000000##FFFFFF
##2147AC1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#0049AA
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2147ac;
/* rgb */ color: rgb(33, 71, 172);
/* oklch */ color: oklch(43.7% 0.168 264.6);
Tailwind
colors: {
  custom: {
    50: '#7479c6',
    500: '#2147ac',
    950: '#000000',
  },
}
SCSS
$custom: #2147ac;
$custom-light: #7479c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2147ac",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 223.597,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43652,
    "c": 0.1676,
    "h": 264.6
  },
  "luminance": 0.07808
}

Semantic roles & 50–950 ramp

primary
#2147AC
secondary
#C7AB62
accent
#BB3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2147AC

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

Preview Lab → · Contrast checker → · Palette generator →

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