#2D47B6#2D47B6

#2D47B6 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.178 H 268.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2D47B6
RGBrgb(45, 71, 182)
HSLhsl(229, 60%, 45%)
HSVhsv(229, 75%, 71%)
CMYKcmyk(75.3%, 61%, 0%, 28.6%)
CIE-LABlab(34.88, 29.93, -61.53)
CIE-LCHlch(34.88, 68.42, 295.94°)
OKLaboklab(45.02% -0.0058 -0.1777)
OKLCHoklch(45.02% 0.178 268.1)
XYZxyz(11.7760, 8.4405, 45.2554)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47B6 #B69C2D
analogous
#2D8CB6 #2D47B6 #582DB6
triadic
#2D47B6 #B62D47 #47B62D
tetradic
#2D47B6 #B62D8C #B69C2D #2DB658
square
#2D47B6 #B62D8C #B69C2D #2DB658
split-complementary
#2D47B6 #B6582D #8CB62D
monochromatic
#152154 #213485 #2D47B6 #4D67D3 #7E91DF

Accessibility & contrast

On white

7.81
#2D47B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2D47B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47B6
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47B6#FFFFFF#000000##FFFFFF
##2D47B61.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004CB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d47b6;
/* rgb */ color: rgb(45, 71, 182);
/* oklch */ color: oklch(45.0% 0.178 268.1);
Tailwind
colors: {
  custom: {
    50: '#7a7acd',
    500: '#2d47b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d47b6;
$custom-light: #7a7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47b6",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 182
  },
  "hsl": {
    "h": 228.613,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.17784,
    "h": 268.1
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#2D47B6
secondary
#C8B877
accent
#C544E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D47B6

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

Preview Lab → · Contrast checker → · Palette generator →

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