#2D47AF#2D47AF

#2D47AF is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.168 H 268.0°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2D47AF
RGBrgb(45, 71, 175)
HSLhsl(228, 59%, 43%)
HSVhsv(228, 74%, 69%)
CMYKcmyk(74.3%, 59.4%, 0%, 31.4%)
CIE-LABlab(34.31, 27.33, -58.31)
CIE-LCHlch(34.31, 64.40, 295.11°)
OKLaboklab(44.41% -0.0058 -0.1683)
OKLCHoklch(44.41% 0.168 268)
XYZxyz(11.0706, 8.1583, 41.5404)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D47AF #AF952D
analogous
#2D88AF #2D47AF #542DAF
triadic
#2D47AF #AF2D47 #47AF2D
tetradic
#2D47AF #AF2D88 #AF952D #2DAF54
square
#2D47AF #AF2D88 #AF952D #2DAF54
split-complementary
#2D47AF #AF542D #88AF2D
monochromatic
#141F4E #20337E #2D47AF #4964D0 #7A8DDD

Accessibility & contrast

On white

7.98
#2D47AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2D47AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D47AF
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D47AF#FFFFFF#000000##FFFFFF
##2D47AF1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2d47af;
/* rgb */ color: rgb(45, 71, 175);
/* oklch */ color: oklch(44.4% 0.168 268.0);
Tailwind
colors: {
  custom: {
    50: '#7979c8',
    500: '#2d47af',
    950: '#000000',
  },
}
SCSS
$custom: #2d47af;
$custom-light: #7979c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d47af",
  "rgb": {
    "r": 45,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 228,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44411,
    "c": 0.16842,
    "h": 268
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#2D47AF
secondary
#C5B473
accent
#C346E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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