#2B47A4#2B47A4

#2B47A4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.154 H 267.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2B47A4
RGBrgb(43, 71, 164)
HSLhsl(226, 58%, 41%)
HSVhsv(226, 74%, 64%)
CMYKcmyk(73.8%, 56.7%, 0%, 35.7%)
CIE-LABlab(33.35, 22.92, -53.31)
CIE-LCHlch(33.35, 58.03, 293.27°)
OKLaboklab(43.39% -0.008 -0.1537)
OKLCHoklch(43.39% 0.154 267)
XYZxyz(9.9480, 7.6994, 36.0766)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47A4 #A4882B
analogous
#2B83A4 #2B47A4 #4C2BA4
triadic
#2B47A4 #A42B47 #47A42B
tetradic
#2B47A4 #A42B83 #A4882B #2BA44C
square
#2B47A4 #A42B83 #A4882B #2BA44C
split-complementary
#2B47A4 #A44C2B #83A42B
monochromatic
#121D43 #1E3274 #2B47A4 #3F60CD #7088D9

Accessibility & contrast

On white

8.27
#2B47A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B47A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47A4
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47A4#FFFFFF#000000##FFFFFF
##2B47A41.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b47a4;
/* rgb */ color: rgb(43, 71, 164);
/* oklch */ color: oklch(43.4% 0.154 267.0);
Tailwind
colors: {
  custom: {
    50: '#7579c0',
    500: '#2b47a4',
    950: '#000000',
  },
}
SCSS
$custom: #2b47a4;
$custom-light: #7579c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47a4",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 226.116,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43393,
    "c": 0.15387,
    "h": 267
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B47A4

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

Preview Lab → · Contrast checker → · Palette generator →

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