#2D4DB9#2D4DB9

#2D4DB9 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.175 H 266.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2D4DB9
RGBrgb(45, 77, 185)
HSLhsl(226, 61%, 45%)
HSVhsv(226, 76%, 73%)
CMYKcmyk(75.7%, 58.4%, 0%, 27.5%)
CIE-LABlab(36.68, 27.13, -60.36)
CIE-LCHlch(36.68, 66.18, 294.20°)
OKLaboklab(46.43% -0.0099 -0.1742)
OKLCHoklch(46.43% 0.175 266.8)
XYZxyz(12.4900, 9.3670, 47.0393)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DB9 #B9992D
analogous
#2D93B9 #2D4DB9 #532DB9
triadic
#2D4DB9 #B92D4D #4DB92D
tetradic
#2D4DB9 #B92D93 #B9992D #2DB953
square
#2D4DB9 #B92D93 #B9992D #2DB953
split-complementary
#2D4DB9 #B9532D #93B92D
monochromatic
#152457 #213988 #2D4DB9 #4F6DD4 #8096E0

Accessibility & contrast

On white

7.31
#2D4DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2D4DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4DB9
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DB9#FFFFFF#000000##FFFFFF
##2D4DB91.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0050B7
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2d4db9;
/* rgb */ color: rgb(45, 77, 185);
/* oklch */ color: oklch(46.4% 0.175 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b7ecf',
    500: '#2d4db9',
    950: '#000000',
  },
}
SCSS
$custom: #2d4db9;
$custom-light: #7b7ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4db9",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 226.286,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46432,
    "c": 0.17453,
    "h": 266.8
  },
  "luminance": 0.09368
}

Semantic roles & 50–950 ramp

primary
#2D4DB9
secondary
#C9B779
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D4DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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