#2B47A2#2B47A2

#2B47A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.151 H 266.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2B47A2
RGBrgb(43, 71, 162)
HSLhsl(226, 58%, 40%)
HSVhsv(226, 73%, 64%)
CMYKcmyk(73.5%, 56.2%, 0%, 36.5%)
CIE-LABlab(33.20, 22.16, -52.36)
CIE-LCHlch(33.20, 56.85, 292.94°)
OKLaboklab(43.23% -0.0081 -0.1509)
OKLCHoklch(43.23% 0.151 266.9)
XYZxyz(9.7688, 7.6277, 35.1329)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B47A2 #A2862B
analogous
#2B83A2 #2B47A2 #4A2BA2
triadic
#2B47A2 #A22B47 #47A22B
tetradic
#2B47A2 #A22B83 #A2862B #2BA24A
square
#2B47A2 #A22B83 #A2862B #2BA24A
split-complementary
#2B47A2 #A24A2B #83A22B
monochromatic
#111D41 #1E3272 #2B47A2 #3E60CC #6F88D9

Accessibility & contrast

On white

8.31
#2B47A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B47A2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B47A2#FFFFFF#000000##FFFFFF
##2B47A21.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b47a2;
/* rgb */ color: rgb(43, 71, 162);
/* oklch */ color: oklch(43.2% 0.151 266.9);
Tailwind
colors: {
  custom: {
    50: '#7579be',
    500: '#2b47a2',
    950: '#000000',
  },
}
SCSS
$custom: #2b47a2;
$custom-light: #7579be;
$custom-dark: #000000;
JSON
{
  "hex": "#2b47a2",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 225.882,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4323,
    "c": 0.15108,
    "h": 266.9
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#2B47A2
secondary
#C0AB69
accent
#BD47E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2B47A2

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

Preview Lab → · Contrast checker → · Palette generator →

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