#2147A2#2147A2

#2147A2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.154 H 263.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2147A2
RGBrgb(33, 71, 162)
HSLhsl(222, 66%, 38%)
HSVhsv(222, 80%, 64%)
CMYKcmyk(79.6%, 56.2%, 0%, 36.5%)
CIE-LABlab(32.78, 20.95, -53.05)
CIE-LCHlch(32.78, 57.03, 291.55°)
OKLaboklab(42.8% -0.0163 -0.1531)
OKLCHoklch(42.8% 0.154 263.9)
XYZxyz(9.3997, 7.4374, 35.1156)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147A2 #A27C21
analogous
#2187A2 #2147A2 #3C21A2
triadic
#2147A2 #A22147 #47A221
tetradic
#2147A2 #A22187 #A27C21 #21A23C
square
#2147A2 #A22187 #A27C21 #21A23C
split-complementary
#2147A2 #A23C21 #87A221
monochromatic
#0C1A3C #17316F #2147A2 #2C5ED4 #5F85DE

Accessibility & contrast

On white

8.44
#2147A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2147A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147A2
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147A2#FFFFFF#000000##FFFFFF
##2147A21.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005E6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2147a2;
/* rgb */ color: rgb(33, 71, 162);
/* oklch */ color: oklch(42.8% 0.154 263.9);
Tailwind
colors: {
  custom: {
    50: '#7279be',
    500: '#2147a2',
    950: '#000000',
  },
}
SCSS
$custom: #2147a2;
$custom-light: #7279be;
$custom-dark: #000000;
JSON
{
  "hex": "#2147a2",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 222.326,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42804,
    "c": 0.15394,
    "h": 263.9
  },
  "luminance": 0.07438
}

Semantic roles & 50–950 ramp

primary
#2147A2
secondary
#C3A55C
accent
#B73FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2147A2

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

Preview Lab → · Contrast checker → · Palette generator →

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