#2D4DB5#2D4DB5

#2D4DB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.169 H 266.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2D4DB5
RGBrgb(45, 77, 181)
HSLhsl(226, 60%, 44%)
HSVhsv(226, 75%, 71%)
CMYKcmyk(75.1%, 57.5%, 0%, 29%)
CIE-LABlab(36.37, 25.62, -58.52)
CIE-LCHlch(36.37, 63.88, 293.65°)
OKLaboklab(46.1% -0.01 -0.1688)
OKLCHoklch(46.1% 0.169 266.6)
XYZxyz(12.0736, 9.2005, 44.8467)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DB5 #B5952D
analogous
#2D91B5 #2D4DB5 #512DB5
triadic
#2D4DB5 #B52D4D #4DB52D
tetradic
#2D4DB5 #B52D91 #B5952D #2DB551
square
#2D4DB5 #B52D91 #B5952D #2DB551
split-complementary
#2D4DB5 #B5512D #91B52D
monochromatic
#152353 #213884 #2D4DB5 #4D6CD3 #7E94DF

Accessibility & contrast

On white

7.39
#2D4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2D4DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4DB5
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DB5#FFFFFF#000000##FFFFFF
##2D4DB51.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4db5;
/* rgb */ color: rgb(45, 77, 181);
/* oklch */ color: oklch(46.1% 0.169 266.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ecc',
    500: '#2d4db5',
    950: '#000000',
  },
}
SCSS
$custom: #2d4db5;
$custom-light: #7a7ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4db5",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 225.882,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46098,
    "c": 0.16913,
    "h": 266.6
  },
  "luminance": 0.09202
}

Semantic roles & 50–950 ramp

primary
#2D4DB5
secondary
#C7B476
accent
#BE44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D4DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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