#2D49A7#2D49A7

#2D49A7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.155 H 267.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2D49A7
RGBrgb(45, 73, 167)
HSLhsl(226, 58%, 42%)
HSVhsv(226, 73%, 65%)
CMYKcmyk(73.1%, 56.3%, 0%, 34.5%)
CIE-LABlab(34.21, 22.99, -53.70)
CIE-LCHlch(34.21, 58.41, 293.18°)
OKLaboklab(44.14% -0.0076 -0.1547)
OKLCHoklch(44.14% 0.155 267.2)
XYZxyz(10.4374, 8.1119, 37.5674)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D49A7 #A78B2D
analogous
#2D86A7 #2D49A7 #4E2DA7
triadic
#2D49A7 #A72D49 #49A72D
tetradic
#2D49A7 #A72D86 #A78B2D #2DA74E
square
#2D49A7 #A72D86 #A78B2D #2DA74E
split-complementary
#2D49A7 #A74E2D #86A72D
monochromatic
#131F47 #203477 #2D49A7 #4464CD #758CDA

Accessibility & contrast

On white

8.01
#2D49A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2D49A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D49A7
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D49A7#FFFFFF#000000##FFFFFF
##2D49A71.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#004BA5
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d49a7;
/* rgb */ color: rgb(45, 73, 167);
/* oklch */ color: oklch(44.1% 0.155 267.2);
Tailwind
colors: {
  custom: {
    50: '#777bc2',
    500: '#2d49a7',
    950: '#000000',
  },
}
SCSS
$custom: #2d49a7;
$custom-light: #777bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d49a7",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 167
  },
  "hsl": {
    "h": 226.23,
    "s": 57.547,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44142,
    "c": 0.15492,
    "h": 267.2
  },
  "luminance": 0.08113
}

Semantic roles & 50–950 ramp

primary
#2D49A7
secondary
#C1AE6E
accent
#BD47E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2D49A7

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

Preview Lab → · Contrast checker → · Palette generator →

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