#2147B2#2147B2

#2147B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.176 H 264.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2147B2
RGBrgb(33, 71, 178)
HSLhsl(224, 69%, 41%)
HSVhsv(224, 81%, 70%)
CMYKcmyk(81.5%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.07, 27.19, -60.50)
CIE-LCHlch(34.07, 66.33, 294.20°)
OKLaboklab(44.18% -0.0155 -0.175)
OKLCHoklch(44.18% 0.176 264.9)
XYZxyz(10.9135, 8.0429, 43.0881)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147B2 #B28C21
analogous
#2190B2 #2147B2 #4421B2
triadic
#2147B2 #B22147 #47B221
tetradic
#2147B2 #B22190 #B28C21 #21B244
square
#2147B2 #B22190 #B28C21 #21B244
split-complementary
#2147B2 #B24421 #90B221
monochromatic
#0E1E4B #17327E #2147B2 #3661DA #6A8AE3

Accessibility & contrast

On white

8.05
#2147B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2147B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147B2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147B2#FFFFFF#000000##FFFFFF
##2147B21.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2147b2;
/* rgb */ color: rgb(33, 71, 178);
/* oklch */ color: oklch(44.2% 0.176 264.9);
Tailwind
colors: {
  custom: {
    50: '#7679ca',
    500: '#2147b2',
    950: '#000000',
  },
}
SCSS
$custom: #2147b2;
$custom-light: #7679ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2147b2",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 224.276,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44175,
    "c": 0.17565,
    "h": 264.9
  },
  "luminance": 0.08044
}

Semantic roles & 50–950 ramp

primary
#2147B2
secondary
#C9AF66
accent
#BE3CEC
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2147B2

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

Preview Lab → · Contrast checker → · Palette generator →

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