#2D4DBD#2D4DBD

#2D4DBD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.180 H 266.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2D4DBD
RGBrgb(45, 77, 189)
HSLhsl(227, 62%, 46%)
HSVhsv(227, 76%, 74%)
CMYKcmyk(76.2%, 59.3%, 0%, 25.9%)
CIE-LABlab(37.00, 28.62, -62.19)
CIE-LCHlch(37.00, 68.46, 294.71°)
OKLaboklab(46.77% -0.0098 -0.1796)
OKLCHoklch(46.77% 0.18 266.9)
XYZxyz(12.9182, 9.5383, 49.2945)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DBD #BD9D2D
analogous
#2D95BD #2D4DBD #552DBD
triadic
#2D4DBD #BD2D4D #4DBD2D
tetradic
#2D4DBD #BD2D95 #BD9D2D #2DBD55
square
#2D4DBD #BD2D95 #BD9D2D #2DBD55
split-complementary
#2D4DBD #BD552D #95BD2D
monochromatic
#15255A #21398C #2D4DBD #526FD6 #8398E1

Accessibility & contrast

On white

7.22
#2D4DBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2D4DBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4DBD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DBD#FFFFFF#000000##FFFFFF
##2D4DBD1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d4dbd;
/* rgb */ color: rgb(45, 77, 189);
/* oklch */ color: oklch(46.8% 0.180 266.9);
Tailwind
colors: {
  custom: {
    50: '#7c7ed2',
    500: '#2d4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #2d4dbd;
$custom-light: #7c7ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4dbd",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 226.667,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4677,
    "c": 0.17989,
    "h": 266.9
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#2D4DBD
secondary
#CBB97B
accent
#C143E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2D4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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