#2B47AA#2B47AA

#2B47AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.162 H 267.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2B47AA
RGBrgb(43, 71, 170)
HSLhsl(227, 60%, 42%)
HSVhsv(227, 75%, 67%)
CMYKcmyk(74.7%, 58.2%, 0%, 33.3%)
CIE-LABlab(33.82, 25.20, -56.14)
CIE-LCHlch(33.82, 61.54, 294.17°)
OKLaboklab(43.89% -0.0078 -0.162)
OKLCHoklch(43.89% 0.162 267.3)
XYZxyz(10.5027, 7.9212, 38.9978)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47AA #AA8E2B
analogous
#2B87AA #2B47AA #4F2BAA
triadic
#2B47AA #AA2B47 #47AA2B
tetradic
#2B47AA #AA2B87 #AA8E2B #2BAA4F
square
#2B47AA #AA2B87 #AA8E2B #2BAA4F
split-complementary
#2B47AA #AA4F2B #87AA2B
monochromatic
#121E48 #1F3379 #2B47AA #4362CF #748BDC

Accessibility & contrast

On white

8.13
#2B47AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2B47AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47AA
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47AA#FFFFFF#000000##FFFFFF
##2B47AA1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b47aa;
/* rgb */ color: rgb(43, 71, 170);
/* oklch */ color: oklch(43.9% 0.162 267.3);
Tailwind
colors: {
  custom: {
    50: '#7779c4',
    500: '#2b47aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b47aa;
$custom-light: #7779c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47aa",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 226.772,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43893,
    "c": 0.16216,
    "h": 267.3
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#2B47AA
secondary
#C3B06E
accent
#C045E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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