#2D49B3#2D49B3

#2D49B3 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.171 H 267.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#2D49B3
RGBrgb(45, 73, 179)
HSLhsl(227, 60%, 44%)
HSVhsv(227, 75%, 70%)
CMYKcmyk(74.9%, 59.2%, 0%, 29.8%)
CIE-LABlab(35.16, 27.51, -59.31)
CIE-LCHlch(35.16, 65.38, 294.88°)
OKLaboklab(45.14% -0.0072 -0.1712)
OKLCHoklch(45.14% 0.171 267.6)
XYZxyz(11.5986, 8.5764, 43.6832)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49B3 #B3972D
analogous
#2D8CB3 #2D49B3 #542DB3
triadic
#2D49B3 #B32D49 #49B32D
tetradic
#2D49B3 #B32D8C #B3972D #2DB354
square
#2D49B3 #B32D8C #B3972D #2DB354
split-complementary
#2D49B3 #B3542D #8CB32D
monochromatic
#142151 #213582 #2D49B3 #4B67D2 #7C91DE

Accessibility & contrast

On white

7.73
#2D49B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2D49B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49B3
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49B3#FFFFFF#000000##FFFFFF
##2D49B31.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2d49b3;
/* rgb */ color: rgb(45, 73, 179);
/* oklch */ color: oklch(45.1% 0.171 267.6);
Tailwind
colors: {
  custom: {
    50: '#7a7bcb',
    500: '#2d49b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d49b3;
$custom-light: #7a7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49b3",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 227.463,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.17136,
    "h": 267.6
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#2D49B3
secondary
#C7B675
accent
#C245E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D49B3

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

Preview Lab → · Contrast checker → · Palette generator →

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