#2D4EBD#2D4EBD

#2D4EBD is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.179 H 266.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2D4EBD
RGBrgb(45, 78, 189)
HSLhsl(226, 62%, 46%)
HSVhsv(226, 76%, 74%)
CMYKcmyk(76.2%, 58.7%, 0%, 25.9%)
CIE-LABlab(37.26, 27.97, -61.77)
CIE-LCHlch(37.26, 67.80, 294.36°)
OKLaboklab(46.96% -0.0104 -0.1784)
OKLCHoklch(46.96% 0.179 266.6)
XYZxyz(12.9887, 9.6793, 49.3180)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EBD #BD9C2D
analogous
#2D96BD #2D4EBD #542DBD
triadic
#2D4EBD #BD2D4E #4EBD2D
tetradic
#2D4EBD #BD2D96 #BD9C2D #2DBD54
square
#2D4EBD #BD2D96 #BD9C2D #2DBD54
split-complementary
#2D4EBD #BD542D #96BD2D
monochromatic
#15255A #213A8C #2D4EBD #5270D6 #8399E1

Accessibility & contrast

On white

7.15
#2D4EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2D4EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EBD
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EBD#FFFFFF#000000##FFFFFF
##2D4EBD1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0051BB
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2d4ebd;
/* rgb */ color: rgb(45, 78, 189);
/* oklch */ color: oklch(47.0% 0.179 266.6);
Tailwind
colors: {
  custom: {
    50: '#7c7fd2',
    500: '#2d4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ebd;
$custom-light: #7c7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ebd",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 226.25,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.17867,
    "h": 266.6
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#2D4EBD
secondary
#CBB87B
accent
#C043E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2D4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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