#2B47AC#2B47AC

#2B47AC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.165 H 267.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2B47AC
RGBrgb(43, 71, 172)
HSLhsl(227, 60%, 42%)
HSVhsv(227, 75%, 67%)
CMYKcmyk(75%, 58.7%, 0%, 32.5%)
CIE-LABlab(33.98, 25.96, -57.07)
CIE-LCHlch(33.98, 62.70, 294.45°)
OKLaboklab(44.06% -0.0077 -0.1647)
OKLCHoklch(44.06% 0.165 267.3)
XYZxyz(10.6933, 7.9975, 40.0018)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47AC #AC902B
analogous
#2B87AC #2B47AC #502BAC
triadic
#2B47AC #AC2B47 #47AC2B
tetradic
#2B47AC #AC2B87 #AC902B #2BAC50
square
#2B47AC #AC2B87 #AC902B #2BAC50
split-complementary
#2B47AC #AC502B #87AC2B
monochromatic
#131F4A #1F337B #2B47AC #4462D0 #758BDC

Accessibility & contrast

On white

8.08
#2B47AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2B47AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47AC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47AC#FFFFFF#000000##FFFFFF
##2B47AC1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b47ac;
/* rgb */ color: rgb(43, 71, 172);
/* oklch */ color: oklch(44.1% 0.165 267.3);
Tailwind
colors: {
  custom: {
    50: '#7779c6',
    500: '#2b47ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b47ac;
$custom-light: #7779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47ac",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 172
  },
  "hsl": {
    "h": 226.977,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44062,
    "c": 0.1649,
    "h": 267.3
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#2B47AC
secondary
#C4B26F
accent
#C145E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2B47AC

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

Preview Lab → · Contrast checker → · Palette generator →

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