#2B47B4#2B47B4

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

Color values

HEX#2B47B4
RGBrgb(43, 71, 180)
HSLhsl(228, 61%, 44%)
HSVhsv(228, 76%, 71%)
CMYKcmyk(76.1%, 60.6%, 0%, 29.4%)
CIE-LABlab(34.63, 28.96, -60.76)
CIE-LCHlch(34.63, 67.31, 295.49°)
OKLaboklab(44.75% -0.0076 -0.1756)
OKLCHoklch(44.75% 0.176 267.5)
XYZxyz(11.4849, 8.3141, 44.1707)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47B4 #B4982B
analogous
#2B8BB4 #2B47B4 #532BB4
triadic
#2B47B4 #B42B47 #47B42B
tetradic
#2B47B4 #B42B8B #B4982B #2BB453
square
#2B47B4 #B42B8B #B4982B #2BB453
split-complementary
#2B47B4 #B4532B #8BB42B
monochromatic
#132051 #1F3483 #2B47B4 #4965D3 #7A8FDF

Accessibility & contrast

On white

7.89
#2B47B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B47B4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47B4#FFFFFF#000000##FFFFFF
##2B47B41.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b47b4;
/* rgb */ color: rgb(43, 71, 180);
/* oklch */ color: oklch(44.8% 0.176 267.5);
Tailwind
colors: {
  custom: {
    50: '#7979cb',
    500: '#2b47b4',
    950: '#000000',
  },
}
SCSS
$custom: #2b47b4;
$custom-light: #7979cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47b4",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 180
  },
  "hsl": {
    "h": 227.737,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44751,
    "c": 0.17571,
    "h": 267.5
  },
  "luminance": 0.08315
}

Semantic roles & 50–950 ramp

primary
#2B47B4
secondary
#C7B673
accent
#C443E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2B47B4

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

Preview Lab → · Contrast checker → · Palette generator →

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