#2D49B1#2D49B1

#2D49B1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.169 H 267.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2D49B1
RGBrgb(45, 73, 177)
HSLhsl(227, 59%, 44%)
HSVhsv(227, 75%, 69%)
CMYKcmyk(74.6%, 58.8%, 0%, 30.6%)
CIE-LABlab(35.00, 26.76, -58.38)
CIE-LCHlch(35.00, 64.22, 294.62°)
OKLaboklab(44.97% -0.0072 -0.1685)
OKLCHoklch(44.97% 0.169 267.5)
XYZxyz(11.3978, 8.4961, 42.6257)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49B1 #B1952D
analogous
#2D8BB1 #2D49B1 #532DB1
triadic
#2D49B1 #B12D49 #49B12D
tetradic
#2D49B1 #B12D8B #B1952D #2DB153
square
#2D49B1 #B12D8B #B1952D #2DB153
split-complementary
#2D49B1 #B1532D #8BB12D
monochromatic
#14214F #213580 #2D49B1 #4A67D1 #7B90DD

Accessibility & contrast

On white

7.78
#2D49B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2D49B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49B1
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49B1#FFFFFF#000000##FFFFFF
##2D49B11.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d49b1;
/* rgb */ color: rgb(45, 73, 177);
/* oklch */ color: oklch(45.0% 0.169 267.5);
Tailwind
colors: {
  custom: {
    50: '#797bc9',
    500: '#2d49b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d49b1;
$custom-light: #797bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49b1",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 227.273,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44972,
    "c": 0.16866,
    "h": 267.5
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#2D49B1
secondary
#C6B474
accent
#C145E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D49B1

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

Preview Lab → · Contrast checker → · Palette generator →

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