#2B47A3#2B47A3

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

Color values

HEX#2B47A3
RGBrgb(43, 71, 163)
HSLhsl(226, 58%, 40%)
HSVhsv(226, 74%, 64%)
CMYKcmyk(73.6%, 56.4%, 0%, 36.1%)
CIE-LABlab(33.27, 22.54, -52.83)
CIE-LCHlch(33.27, 57.44, 293.11°)
OKLaboklab(43.31% -0.0081 -0.1523)
OKLCHoklch(43.31% 0.152 267)
XYZxyz(9.8581, 7.6634, 35.6029)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47A3 #A3872B
analogous
#2B83A3 #2B47A3 #4B2BA3
triadic
#2B47A3 #A32B47 #47A32B
tetradic
#2B47A3 #A32B83 #A3872B #2BA34B
square
#2B47A3 #A32B83 #A3872B #2BA34B
split-complementary
#2B47A3 #A34B2B #83A32B
monochromatic
#111D42 #1E3273 #2B47A3 #3F60CC #6F88D9

Accessibility & contrast

On white

8.29
#2B47A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B47A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47A3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47A3#FFFFFF#000000##FFFFFF
##2B47A31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b47a3;
/* rgb */ color: rgb(43, 71, 163);
/* oklch */ color: oklch(43.3% 0.152 267.0);
Tailwind
colors: {
  custom: {
    50: '#7579bf',
    500: '#2b47a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b47a3;
$custom-light: #7579bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47a3",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 226,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43311,
    "c": 0.15247,
    "h": 267
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#2B47A3
secondary
#C0AC6A
accent
#BD46E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2B47A3

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

Preview Lab → · Contrast checker → · Palette generator →

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