#2B47B5#2B47B5

#2B47B5 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.177 H 267.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#2B47B5
RGBrgb(43, 71, 181)
HSLhsl(228, 62%, 44%)
HSVhsv(228, 76%, 71%)
CMYKcmyk(76.2%, 60.8%, 0%, 29%)
CIE-LABlab(34.71, 29.34, -61.22)
CIE-LCHlch(34.71, 67.89, 295.60°)
OKLaboklab(44.84% -0.0075 -0.1769)
OKLCHoklch(44.84% 0.177 267.6)
XYZxyz(11.5871, 8.3550, 44.7091)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47B5 #B5992B
analogous
#2B8CB5 #2B47B5 #542BB5
triadic
#2B47B5 #B52B47 #47B52B
tetradic
#2B47B5 #B52B8C #B5992B #2BB554
square
#2B47B5 #B52B8C #B5992B #2BB554
split-complementary
#2B47B5 #B5542B #8CB52B
monochromatic
#142052 #1F3484 #2B47B5 #4965D4 #7B8FE0

Accessibility & contrast

On white

7.86
#2B47B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2B47B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47B5
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47B5#FFFFFF#000000##FFFFFF
##2B47B51.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2b47b5;
/* rgb */ color: rgb(43, 71, 181);
/* oklch */ color: oklch(44.8% 0.177 267.6);
Tailwind
colors: {
  custom: {
    50: '#7979cc',
    500: '#2b47b5',
    950: '#000000',
  },
}
SCSS
$custom: #2b47b5;
$custom-light: #7979cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47b5",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 181
  },
  "hsl": {
    "h": 227.826,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44838,
    "c": 0.17705,
    "h": 267.6
  },
  "luminance": 0.08356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B47B5

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

Preview Lab → · Contrast checker → · Palette generator →

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