#2147A0#2147A0

#2147A0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.151 H 263.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2147A0
RGBrgb(33, 71, 160)
HSLhsl(222, 66%, 38%)
HSVhsv(222, 79%, 63%)
CMYKcmyk(79.4%, 55.6%, 0%, 37.3%)
CIE-LABlab(32.63, 20.16, -52.09)
CIE-LCHlch(32.63, 55.86, 291.16°)
OKLaboklab(42.64% -0.0165 -0.1503)
OKLCHoklch(42.64% 0.151 263.7)
XYZxyz(9.2233, 7.3668, 34.1867)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147A0 #A07A21
analogous
#2186A0 #2147A0 #3A21A0
triadic
#2147A0 #A02147 #47A021
tetradic
#2147A0 #A02186 #A07A21 #21A03A
square
#2147A0 #A02186 #A07A21 #21A03A
split-complementary
#2147A0 #A03A21 #86A021
monochromatic
#0C1A3B #17306D #2147A0 #2B5ED3 #5E84DE

Accessibility & contrast

On white

8.49
#2147A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2147A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147A0
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147A0#FFFFFF#000000##FFFFFF
##2147A01.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2147a0;
/* rgb */ color: rgb(33, 71, 160);
/* oklch */ color: oklch(42.6% 0.151 263.7);
Tailwind
colors: {
  custom: {
    50: '#7179bd',
    500: '#2147a0',
    950: '#000000',
  },
}
SCSS
$custom: #2147a0;
$custom-light: #7179bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2147a0",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 160
  },
  "hsl": {
    "h": 222.047,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.15116,
    "h": 263.7
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2147A0

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

Preview Lab → · Contrast checker → · Palette generator →

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