#2D4DB6#2D4DB6

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

Color values

HEX#2D4DB6
RGBrgb(45, 77, 182)
HSLhsl(226, 60%, 45%)
HSVhsv(226, 75%, 71%)
CMYKcmyk(75.3%, 57.7%, 0%, 28.6%)
CIE-LABlab(36.45, 26.00, -58.98)
CIE-LCHlch(36.45, 64.46, 293.79°)
OKLaboklab(46.18% -0.01 -0.1702)
OKLCHoklch(46.18% 0.17 266.6)
XYZxyz(12.1766, 9.2417, 45.3890)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DB6 #B6962D
analogous
#2D92B6 #2D4DB6 #512DB6
triadic
#2D4DB6 #B62D4D #4DB62D
tetradic
#2D4DB6 #B62D92 #B6962D #2DB651
square
#2D4DB6 #B62D92 #B6962D #2DB651
split-complementary
#2D4DB6 #B6512D #92B62D
monochromatic
#152354 #213885 #2D4DB6 #4D6CD3 #7E95DF

Accessibility & contrast

On white

7.37
#2D4DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2D4DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4DB6
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DB6#FFFFFF#000000##FFFFFF
##2D4DB61.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4db6;
/* rgb */ color: rgb(45, 77, 182);
/* oklch */ color: oklch(46.2% 0.170 266.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ecd',
    500: '#2d4db6',
    950: '#000000',
  },
}
SCSS
$custom: #2d4db6;
$custom-light: #7a7ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4db6",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 225.985,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46181,
    "c": 0.17048,
    "h": 266.6
  },
  "luminance": 0.09243
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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