#2B47B3#2B47B3

#2B47B3 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.174 H 267.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#2B47B3
RGBrgb(43, 71, 179)
HSLhsl(228, 61%, 44%)
HSVhsv(228, 76%, 70%)
CMYKcmyk(76%, 60.3%, 0%, 29.8%)
CIE-LABlab(34.55, 28.59, -60.31)
CIE-LCHlch(34.55, 66.74, 295.36°)
OKLaboklab(44.66% -0.0076 -0.1742)
OKLCHoklch(44.66% 0.174 267.5)
XYZxyz(11.3834, 8.2735, 43.6361)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47B3 #B3972B
analogous
#2B8BB3 #2B47B3 #532BB3
triadic
#2B47B3 #B32B47 #47B32B
tetradic
#2B47B3 #B32B8B #B3972B #2BB353
square
#2B47B3 #B32B8B #B3972B #2BB353
split-complementary
#2B47B3 #B3532B #8BB32B
monochromatic
#132050 #1F3382 #2B47B3 #4865D3 #798EDF

Accessibility & contrast

On white

7.91
#2B47B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2B47B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47B3
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47B3#FFFFFF#000000##FFFFFF
##2B47B31.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b47b3;
/* rgb */ color: rgb(43, 71, 179);
/* oklch */ color: oklch(44.7% 0.174 267.5);
Tailwind
colors: {
  custom: {
    50: '#7979cb',
    500: '#2b47b3',
    950: '#000000',
  },
}
SCSS
$custom: #2b47b3;
$custom-light: #7979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47b3",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 227.647,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44663,
    "c": 0.17437,
    "h": 267.5
  },
  "luminance": 0.08275
}

Semantic roles & 50–950 ramp

primary
#2B47B3
secondary
#C7B673
accent
#C343E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B47B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2B47B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva