#2B47A5#2B47A5

#2B47A5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.155 H 267.1°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2B47A5
RGBrgb(43, 71, 165)
HSLhsl(226, 59%, 41%)
HSVhsv(226, 74%, 65%)
CMYKcmyk(73.9%, 57%, 0%, 35.3%)
CIE-LABlab(33.43, 23.30, -53.78)
CIE-LCHlch(33.43, 58.62, 293.43°)
OKLaboklab(43.48% -0.008 -0.155)
OKLCHoklch(43.48% 0.155 267.1)
XYZxyz(10.0387, 7.7356, 36.5541)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47A5 #A5892B
analogous
#2B84A5 #2B47A5 #4C2BA5
triadic
#2B47A5 #A52B47 #47A52B
tetradic
#2B47A5 #A52B84 #A5892B #2BA54C
square
#2B47A5 #A52B84 #A5892B #2BA54C
split-complementary
#2B47A5 #A54C2B #84A52B
monochromatic
#121D44 #1E3274 #2B47A5 #4060CD #7189DA

Accessibility & contrast

On white

8.24
#2B47A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2B47A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47A5
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47A5#FFFFFF#000000##FFFFFF
##2B47A51.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b47a5;
/* rgb */ color: rgb(43, 71, 165);
/* oklch */ color: oklch(43.5% 0.155 267.1);
Tailwind
colors: {
  custom: {
    50: '#7679c0',
    500: '#2b47a5',
    950: '#000000',
  },
}
SCSS
$custom: #2b47a5;
$custom-light: #7679c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47a5",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 226.23,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43476,
    "c": 0.15526,
    "h": 267.1
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#2B47A5
secondary
#C1AD6B
accent
#BE46E2
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B47A5

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

Preview Lab → · Contrast checker → · Palette generator →

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