#2147B4#2147B4

#2147B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.178 H 265.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2147B4
RGBrgb(33, 71, 180)
HSLhsl(224, 69%, 42%)
HSVhsv(224, 82%, 71%)
CMYKcmyk(81.7%, 60.6%, 0%, 29.4%)
CIE-LABlab(34.24, 27.96, -61.42)
CIE-LCHlch(34.24, 67.48, 294.48°)
OKLaboklab(44.35% -0.0155 -0.1776)
OKLCHoklch(44.35% 0.178 265)
XYZxyz(11.1157, 8.1238, 44.1534)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147B4 #B48E21
analogous
#2191B4 #2147B4 #4521B4
triadic
#2147B4 #B42147 #47B421
tetradic
#2147B4 #B42191 #B48E21 #21B445
square
#2147B4 #B42191 #B48E21 #21B445
split-complementary
#2147B4 #B44521 #91B421
monochromatic
#0E1E4D #183380 #2147B4 #3862DA #6B8BE4

Accessibility & contrast

On white

8.00
#2147B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2147B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147B4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147B4#FFFFFF#000000##FFFFFF
##2147B41.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2147b4;
/* rgb */ color: rgb(33, 71, 180);
/* oklch */ color: oklch(44.4% 0.178 265.0);
Tailwind
colors: {
  custom: {
    50: '#7679cb',
    500: '#2147b4',
    950: '#000000',
  },
}
SCSS
$custom: #2147b4;
$custom-light: #7679cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2147b4",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 224.49,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44352,
    "c": 0.17831,
    "h": 265
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#2147B4
secondary
#CAB067
accent
#BE3CEC
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2147B4

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

Preview Lab → · Contrast checker → · Palette generator →

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