#2D49A1#2D49A1

#2D49A1 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.147 H 266.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#2D49A1
RGBrgb(45, 73, 161)
HSLhsl(226, 56%, 40%)
HSVhsv(226, 72%, 63%)
CMYKcmyk(72%, 54.7%, 0%, 36.9%)
CIE-LABlab(33.76, 20.72, -50.83)
CIE-LCHlch(33.76, 54.89, 292.18°)
OKLaboklab(43.66% -0.008 -0.1463)
OKLCHoklch(43.66% 0.147 266.9)
XYZxyz(9.8955, 7.8952, 34.7137)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49A1 #A1852D
analogous
#2D83A1 #2D49A1 #4B2DA1
triadic
#2D49A1 #A12D49 #49A12D
tetradic
#2D49A1 #A12D83 #A1852D #2DA14B
square
#2D49A1 #A12D83 #A1852D #2DA14B
split-complementary
#2D49A1 #A14B2D #83A12D
monochromatic
#121E41 #203371 #2D49A1 #4162CA #718AD7

Accessibility & contrast

On white

8.14
#2D49A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2D49A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49A1
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49A1#FFFFFF#000000##FFFFFF
##2D49A11.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0455A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d49a1;
/* rgb */ color: rgb(45, 73, 161);
/* oklch */ color: oklch(43.7% 0.147 266.9);
Tailwind
colors: {
  custom: {
    50: '#757bbd',
    500: '#2d49a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d49a1;
$custom-light: #757bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49a1",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 161
  },
  "hsl": {
    "h": 225.517,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4366,
    "c": 0.14651,
    "h": 266.9
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#2D49A1
secondary
#BFAB6B
accent
#BB48E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D49A1

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

Preview Lab → · Contrast checker → · Palette generator →

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