#2D47BC#2D47BC

#2D47BC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.186 H 268.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#2D47BC
RGBrgb(45, 71, 188)
HSLhsl(229, 61%, 46%)
HSVhsv(229, 76%, 74%)
CMYKcmyk(76.1%, 62.2%, 0%, 26.3%)
CIE-LABlab(35.39, 32.15, -64.24)
CIE-LCHlch(35.39, 71.84, 296.59°)
OKLaboklab(45.55% -0.0058 -0.1857)
OKLCHoklch(45.55% 0.186 268.2)
XYZxyz(12.4094, 8.6938, 48.5913)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47BC #BCA22D
analogous
#2D8EBC #2D47BC #5A2DBC
triadic
#2D47BC #BC2D47 #47BC2D
tetradic
#2D47BC #BC2D8E #BCA22D #2DBC5A
square
#2D47BC #BC2D8E #BCA22D #2DBC5A
split-complementary
#2D47BC #BC5A2D #8EBC2D
monochromatic
#152259 #21348B #2D47BC #5169D5 #8294E1

Accessibility & contrast

On white

7.67
#2D47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2D47BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47BC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47BC#FFFFFF#000000##FFFFFF
##2D47BC1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d47bc;
/* rgb */ color: rgb(45, 71, 188);
/* oklch */ color: oklch(45.5% 0.186 268.2);
Tailwind
colors: {
  custom: {
    50: '#7c7ad1',
    500: '#2d47bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d47bc;
$custom-light: #7c7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47bc",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 229.091,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45546,
    "c": 0.18579,
    "h": 268.2
  },
  "luminance": 0.08695
}

Semantic roles & 50–950 ramp

primary
#2D47BC
secondary
#CABC7B
accent
#C743E4
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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