#2147A8#2147A8

#2147A8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.162 H 264.4°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2147A8
RGBrgb(33, 71, 168)
HSLhsl(223, 67%, 39%)
HSVhsv(223, 80%, 66%)
CMYKcmyk(80.4%, 57.7%, 0%, 34.1%)
CIE-LABlab(33.26, 23.31, -55.88)
CIE-LCHlch(33.26, 60.54, 292.64°)
OKLaboklab(43.31% -0.0159 -0.1614)
OKLCHoklch(43.31% 0.162 264.4)
XYZxyz(9.9458, 7.6558, 37.9917)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147A8 #A88221
analogous
#218BA8 #2147A8 #3F21A8
triadic
#2147A8 #A82147 #47A821
tetradic
#2147A8 #A8218B #A88221 #21A83F
square
#2147A8 #A8218B #A88221 #21A83F
split-complementary
#2147A8 #A83F21 #8BA821
monochromatic
#0D1C42 #173175 #2147A8 #305FD6 #6386E0

Accessibility & contrast

On white

8.30
#2147A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2147A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147A8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147A8#FFFFFF#000000##FFFFFF
##2147A81.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2147a8;
/* rgb */ color: rgb(33, 71, 168);
/* oklch */ color: oklch(43.3% 0.162 264.4);
Tailwind
colors: {
  custom: {
    50: '#7379c3',
    500: '#2147a8',
    950: '#000000',
  },
}
SCSS
$custom: #2147a8;
$custom-light: #7379c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2147a8",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 223.111,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43309,
    "c": 0.16217,
    "h": 264.4
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#2147A8
secondary
#C5A95F
accent
#BA3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2147A8

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

Preview Lab → · Contrast checker → · Palette generator →

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