#2B47AB#2B47AB

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

Color values

HEX#2B47AB
RGBrgb(43, 71, 171)
HSLhsl(227, 60%, 42%)
HSVhsv(227, 75%, 67%)
CMYKcmyk(74.9%, 58.5%, 0%, 32.9%)
CIE-LABlab(33.90, 25.58, -56.61)
CIE-LCHlch(33.90, 62.12, 294.32°)
OKLaboklab(43.98% -0.0077 -0.1633)
OKLCHoklch(43.98% 0.164 267.3)
XYZxyz(10.5976, 7.9592, 39.4979)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47AB #AB8F2B
analogous
#2B87AB #2B47AB #4F2BAB
triadic
#2B47AB #AB2B47 #47AB2B
tetradic
#2B47AB #AB2B87 #AB8F2B #2BAB4F
square
#2B47AB #AB2B87 #AB8F2B #2BAB4F
split-complementary
#2B47AB #AB4F2B #87AB2B
monochromatic
#121E49 #1F337A #2B47AB #4362D0 #748BDC

Accessibility & contrast

On white

8.10
#2B47AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2B47AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B47AB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47AB#FFFFFF#000000##FFFFFF
##2B47AB1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b47ab;
/* rgb */ color: rgb(43, 71, 171);
/* oklch */ color: oklch(44.0% 0.164 267.3);
Tailwind
colors: {
  custom: {
    50: '#7779c5',
    500: '#2b47ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b47ab;
$custom-light: #7779c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47ab",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 171
  },
  "hsl": {
    "h": 226.875,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43977,
    "c": 0.16353,
    "h": 267.3
  },
  "luminance": 0.0796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B47AB

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

Preview Lab → · Contrast checker → · Palette generator →

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