#2B47A0#2B47A0

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

Color values

HEX#2B47A0
RGBrgb(43, 71, 160)
HSLhsl(226, 58%, 40%)
HSVhsv(226, 73%, 63%)
CMYKcmyk(73.1%, 55.6%, 0%, 37.3%)
CIE-LABlab(33.04, 21.40, -51.40)
CIE-LCHlch(33.04, 55.68, 292.60°)
OKLaboklab(43.07% -0.0083 -0.148)
OKLCHoklch(43.07% 0.148 266.8)
XYZxyz(9.5925, 7.5571, 34.2040)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47A0 #A0842B
analogous
#2B82A0 #2B47A0 #4A2BA0
triadic
#2B47A0 #A02B47 #47A02B
tetradic
#2B47A0 #A02B82 #A0842B #2BA04A
square
#2B47A0 #A02B82 #A0842B #2BA04A
split-complementary
#2B47A0 #A04A2B #82A02B
monochromatic
#111C40 #1E3270 #2B47A0 #3D5FCB #6E87D8

Accessibility & contrast

On white

8.36
#2B47A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2B47A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47A0
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47A0#FFFFFF#000000##FFFFFF
##2B47A01.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b47a0;
/* rgb */ color: rgb(43, 71, 160);
/* oklch */ color: oklch(43.1% 0.148 266.8);
Tailwind
colors: {
  custom: {
    50: '#7579bd',
    500: '#2b47a0',
    950: '#000000',
  },
}
SCSS
$custom: #2b47a0;
$custom-light: #7579bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47a0",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 160
  },
  "hsl": {
    "h": 225.641,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.14827,
    "h": 266.8
  },
  "luminance": 0.07558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B47A0

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

Preview Lab → · Contrast checker → · Palette generator →

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