#2B47B2#2B47B2

#2B47B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.173 H 267.5°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2B47B2
RGBrgb(43, 71, 178)
HSLhsl(228, 61%, 43%)
HSVhsv(228, 76%, 70%)
CMYKcmyk(75.8%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.46, 28.21, -59.85)
CIE-LCHlch(34.46, 66.16, 295.24°)
OKLaboklab(44.58% -0.0076 -0.1729)
OKLCHoklch(44.58% 0.173 267.5)
XYZxyz(11.2826, 8.2332, 43.1054)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47B2 #B2962B
analogous
#2B8AB2 #2B47B2 #532BB2
triadic
#2B47B2 #B22B47 #47B22B
tetradic
#2B47B2 #B22B8A #B2962B #2BB253
square
#2B47B2 #B22B8A #B2962B #2BB253
split-complementary
#2B47B2 #B2532B #8AB22B
monochromatic
#13204F #1F3381 #2B47B2 #4864D3 #798EDF

Accessibility & contrast

On white

7.93
#2B47B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B47B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47B2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47B2#FFFFFF#000000##FFFFFF
##2B47B21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b47b2;
/* rgb */ color: rgb(43, 71, 178);
/* oklch */ color: oklch(44.6% 0.173 267.5);
Tailwind
colors: {
  custom: {
    50: '#7979ca',
    500: '#2b47b2',
    950: '#000000',
  },
}
SCSS
$custom: #2b47b2;
$custom-light: #7979ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47b2",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 227.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44577,
    "c": 0.17303,
    "h": 267.5
  },
  "luminance": 0.08234
}

Semantic roles & 50–950 ramp

primary
#2B47B2
secondary
#C7B572
accent
#C344E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B47B2

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

Preview Lab → · Contrast checker → · Palette generator →

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