#2B47A1#2B47A1

#2B47A1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.150 H 266.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2B47A1
RGBrgb(43, 71, 161)
HSLhsl(226, 58%, 40%)
HSVhsv(226, 73%, 63%)
CMYKcmyk(73.3%, 55.9%, 0%, 36.9%)
CIE-LABlab(33.12, 21.78, -51.88)
CIE-LCHlch(33.12, 56.27, 292.77°)
OKLaboklab(43.15% -0.0082 -0.1494)
OKLCHoklch(43.15% 0.15 266.9)
XYZxyz(9.6803, 7.5923, 34.6666)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47A1 #A1852B
analogous
#2B82A1 #2B47A1 #4A2BA1
triadic
#2B47A1 #A12B47 #47A12B
tetradic
#2B47A1 #A12B82 #A1852B #2BA14A
square
#2B47A1 #A12B82 #A1852B #2BA14A
split-complementary
#2B47A1 #A14A2B #82A12B
monochromatic
#111C40 #1E3271 #2B47A1 #3E5FCB #6E87D8

Accessibility & contrast

On white

8.34
#2B47A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2B47A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47A1
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47A1#FFFFFF#000000##FFFFFF
##2B47A11.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#00499F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b47a1;
/* rgb */ color: rgb(43, 71, 161);
/* oklch */ color: oklch(43.1% 0.150 266.9);
Tailwind
colors: {
  custom: {
    50: '#7579bd',
    500: '#2b47a1',
    950: '#000000',
  },
}
SCSS
$custom: #2b47a1;
$custom-light: #7579bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47a1",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 225.763,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.43148,
    "c": 0.14968,
    "h": 266.9
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#2B47A1
secondary
#BFAB69
accent
#BC47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B47A1

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

Preview Lab → · Contrast checker → · Palette generator →

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