#2D49B2#2D49B2

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

Color values

HEX#2D49B2
RGBrgb(45, 73, 178)
HSLhsl(227, 60%, 44%)
HSVhsv(227, 75%, 70%)
CMYKcmyk(74.7%, 59%, 0%, 30.2%)
CIE-LABlab(35.08, 27.13, -58.85)
CIE-LCHlch(35.08, 64.80, 294.75°)
OKLaboklab(45.06% -0.0072 -0.1699)
OKLCHoklch(45.06% 0.17 267.6)
XYZxyz(11.4978, 8.5361, 43.1525)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49B2 #B2962D
analogous
#2D8BB2 #2D49B2 #532DB2
triadic
#2D49B2 #B22D49 #49B22D
tetradic
#2D49B2 #B22D8B #B2962D #2DB253
square
#2D49B2 #B22D8B #B2962D #2DB253
split-complementary
#2D49B2 #B2532D #8BB22D
monochromatic
#142150 #213581 #2D49B2 #4B67D1 #7C90DE

Accessibility & contrast

On white

7.76
#2D49B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2D49B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49B2
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49B2#FFFFFF#000000##FFFFFF
##2D49B21.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2d49b2;
/* rgb */ color: rgb(45, 73, 178);
/* oklch */ color: oklch(45.1% 0.170 267.6);
Tailwind
colors: {
  custom: {
    50: '#797bca',
    500: '#2d49b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d49b2;
$custom-light: #797bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49b2",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 227.368,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.17001,
    "h": 267.6
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#2D49B2
secondary
#C6B575
accent
#C245E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D49B2

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

Preview Lab → · Contrast checker → · Palette generator →

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