#2D47BF#2D47BF

#2D47BF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.190 H 268.2°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2D47BF
RGBrgb(45, 71, 191)
HSLhsl(229, 62%, 46%)
HSVhsv(229, 76%, 75%)
CMYKcmyk(76.4%, 62.8%, 0%, 25.1%)
CIE-LABlab(35.64, 33.26, -65.58)
CIE-LCHlch(35.64, 73.53, 296.89°)
OKLaboklab(45.82% -0.0059 -0.1896)
OKLCHoklch(45.82% 0.19 268.2)
XYZxyz(12.7361, 8.8245, 50.3122)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47BF #BFA52D
analogous
#2D90BF #2D47BF #5C2DBF
triadic
#2D47BF #BF2D47 #47BF2D
tetradic
#2D47BF #BF2D90 #BFA52D #2DBF5C
square
#2D47BF #BF2D90 #BFA52D #2DBF5C
split-complementary
#2D47BF #BF5C2D #90BF2D
monochromatic
#16225C #21358D #2D47BF #536AD6 #8495E2

Accessibility & contrast

On white

7.59
#2D47BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D47BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47BF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47BF#FFFFFF#000000##FFFFFF
##2D47BF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d47bf;
/* rgb */ color: rgb(45, 71, 191);
/* oklch */ color: oklch(45.8% 0.190 268.2);
Tailwind
colors: {
  custom: {
    50: '#7d7ad3',
    500: '#2d47bf',
    950: '#000000',
  },
}
SCSS
$custom: #2d47bf;
$custom-light: #7d7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47bf",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 229.315,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45815,
    "c": 0.18972,
    "h": 268.2
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#2D47BF
secondary
#CBBD7C
accent
#C843E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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