#2147A1#2147A1

#2147A1 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.153 H 263.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2147A1
RGBrgb(33, 71, 161)
HSLhsl(222, 66%, 38%)
HSVhsv(222, 80%, 63%)
CMYKcmyk(79.5%, 55.9%, 0%, 36.9%)
CIE-LABlab(32.70, 20.56, -52.57)
CIE-LCHlch(32.70, 56.45, 291.36°)
OKLaboklab(42.72% -0.0164 -0.1517)
OKLCHoklch(42.72% 0.153 263.8)
XYZxyz(9.3112, 7.4019, 34.6493)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147A1 #A17B21
analogous
#2187A1 #2147A1 #3B21A1
triadic
#2147A1 #A12147 #47A121
tetradic
#2147A1 #A12187 #A17B21 #21A13B
square
#2147A1 #A12187 #A17B21 #21A13B
split-complementary
#2147A1 #A13B21 #87A121
monochromatic
#0C1A3B #17316E #2147A1 #2C5DD4 #5E84DE

Accessibility & contrast

On white

8.47
#2147A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2147A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147A1
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147A1#FFFFFF#000000##FFFFFF
##2147A11.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2147a1;
/* rgb */ color: rgb(33, 71, 161);
/* oklch */ color: oklch(42.7% 0.153 263.8);
Tailwind
colors: {
  custom: {
    50: '#7179be',
    500: '#2147a1',
    950: '#000000',
  },
}
SCSS
$custom: #2147a1;
$custom-light: #7179be;
$custom-dark: #000000;
JSON
{
  "hex": "#2147a1",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 222.188,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42721,
    "c": 0.15256,
    "h": 263.8
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#2147A1
secondary
#C3A45B
accent
#B63FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2147A1

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

Preview Lab → · Contrast checker → · Palette generator →

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