#2147A4#2147A4

#2147A4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.157 H 264.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2147A4
RGBrgb(33, 71, 164)
HSLhsl(223, 66%, 39%)
HSVhsv(223, 80%, 64%)
CMYKcmyk(79.9%, 56.7%, 0%, 35.7%)
CIE-LABlab(32.94, 21.74, -54.00)
CIE-LCHlch(32.94, 58.21, 291.93°)
OKLaboklab(42.97% -0.0162 -0.1558)
OKLCHoklch(42.97% 0.157 264.1)
XYZxyz(9.5789, 7.5090, 36.0593)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147A4 #A47E21
analogous
#2188A4 #2147A4 #3C21A4
triadic
#2147A4 #A42147 #47A421
tetradic
#2147A4 #A42188 #A47E21 #21A43C
square
#2147A4 #A42188 #A47E21 #21A43C
split-complementary
#2147A4 #A43C21 #88A421
monochromatic
#0C1B3E #173171 #2147A4 #2D5ED5 #6085DF

Accessibility & contrast

On white

8.39
#2147A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2147A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147A4
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147A4#FFFFFF#000000##FFFFFF
##2147A41.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0048A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2147a4;
/* rgb */ color: rgb(33, 71, 164);
/* oklch */ color: oklch(43.0% 0.157 264.1);
Tailwind
colors: {
  custom: {
    50: '#7279c0',
    500: '#2147a4',
    950: '#000000',
  },
}
SCSS
$custom: #2147a4;
$custom-light: #7279c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2147a4",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 222.595,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.15669,
    "h": 264.1
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#2147A4
secondary
#C4A65D
accent
#B83EE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2147A4

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

Preview Lab → · Contrast checker → · Palette generator →

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