#2147A5#2147A5

#2147A5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.158 H 264.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2147A5
RGBrgb(33, 71, 165)
HSLhsl(223, 67%, 39%)
HSVhsv(223, 80%, 65%)
CMYKcmyk(80%, 57%, 0%, 35.3%)
CIE-LABlab(33.02, 22.13, -54.47)
CIE-LCHlch(33.02, 58.79, 292.11°)
OKLaboklab(43.06% -0.0161 -0.1572)
OKLCHoklch(43.06% 0.158 264.1)
XYZxyz(9.6696, 7.5453, 36.5368)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2147A5 #A57F21
analogous
#2189A5 #2147A5 #3D21A5
triadic
#2147A5 #A52147 #47A521
tetradic
#2147A5 #A52189 #A57F21 #21A53D
square
#2147A5 #A52189 #A57F21 #21A53D
split-complementary
#2147A5 #A53D21 #89A521
monochromatic
#0D1B3F #173172 #2147A5 #2E5ED5 #6185DF

Accessibility & contrast

On white

8.37
#2147A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2147A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2147A5
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2147A5#FFFFFF#000000##FFFFFF
##2147A51.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0048A3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2147a5;
/* rgb */ color: rgb(33, 71, 165);
/* oklch */ color: oklch(43.1% 0.158 264.1);
Tailwind
colors: {
  custom: {
    50: '#7279c0',
    500: '#2147a5',
    950: '#000000',
  },
}
SCSS
$custom: #2147a5;
$custom-light: #7279c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2147a5",
  "rgb": {
    "r": 33,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 222.727,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43055,
    "c": 0.15807,
    "h": 264.1
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#2147A5
secondary
#C4A75E
accent
#B83EEA
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2147A5

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

Preview Lab → · Contrast checker → · Palette generator →

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