#2147A9#2147A9

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

Color values

HEX#2147A9
RGBrgb(33, 71, 169)
HSLhsl(223, 67%, 40%)
HSVhsv(223, 80%, 66%)
CMYKcmyk(80.5%, 58%, 0%, 33.7%)
CIE-LABlab(33.34, 23.70, -56.35)
CIE-LCHlch(33.34, 61.13, 292.81°)
OKLaboklab(43.39% -0.0159 -0.1628)
OKLCHoklch(43.39% 0.164 264.4)
XYZxyz(10.0393, 7.6932, 38.4842)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147A9 #A98321
analogous
#218BA9 #2147A9 #3F21A9
triadic
#2147A9 #A92147 #47A921
tetradic
#2147A9 #A9218B #A98321 #21A93F
square
#2147A9 #A9218B #A98321 #21A93F
split-complementary
#2147A9 #A93F21 #8BA921
monochromatic
#0D1C43 #173176 #2147A9 #315FD7 #6487E1

Accessibility & contrast

On white

8.27
#2147A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2147A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147A9
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147A9#FFFFFF#000000##FFFFFF
##2147A91.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2147a9;
/* rgb */ color: rgb(33, 71, 169);
/* oklch */ color: oklch(43.4% 0.164 264.4);
Tailwind
colors: {
  custom: {
    50: '#7379c3',
    500: '#2147a9',
    950: '#000000',
  },
}
SCSS
$custom: #2147a9;
$custom-light: #7379c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2147a9",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 169
  },
  "hsl": {
    "h": 223.235,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43394,
    "c": 0.16353,
    "h": 264.4
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#2147A9
secondary
#C6A960
accent
#BA3EEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090913
muted
#7B7B82

Preview Lab

Preview with #2147A9

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

Preview Lab → · Contrast checker → · Palette generator →

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