#2147B3#2147B3

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

Color values

HEX#2147B3
RGBrgb(33, 71, 179)
HSLhsl(224, 69%, 42%)
HSVhsv(224, 82%, 70%)
CMYKcmyk(81.6%, 60.3%, 0%, 29.8%)
CIE-LABlab(34.16, 27.58, -60.96)
CIE-LCHlch(34.16, 66.91, 294.34°)
OKLaboklab(44.26% -0.0155 -0.1763)
OKLCHoklch(44.26% 0.177 265)
XYZxyz(11.0142, 8.0832, 43.6188)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147B3 #B38D21
analogous
#2190B3 #2147B3 #4421B3
triadic
#2147B3 #B32147 #47B321
tetradic
#2147B3 #B32190 #B38D21 #21B344
square
#2147B3 #B32190 #B38D21 #21B344
split-complementary
#2147B3 #B34421 #90B321
monochromatic
#0E1E4C #17337F #2147B3 #3762DA #6B8AE4

Accessibility & contrast

On white

8.03
#2147B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2147B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147B3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147B3#FFFFFF#000000##FFFFFF
##2147B31.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2147b3;
/* rgb */ color: rgb(33, 71, 179);
/* oklch */ color: oklch(44.3% 0.177 265.0);
Tailwind
colors: {
  custom: {
    50: '#7679cb',
    500: '#2147b3',
    950: '#000000',
  },
}
SCSS
$custom: #2147b3;
$custom-light: #7679cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2147b3",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 224.384,
    "s": 68.868,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.17698,
    "h": 265
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2147B3

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

Preview Lab → · Contrast checker → · Palette generator →

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