#2D4EBC#2D4EBC

#2D4EBC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.177 H 266.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#2D4EBC
RGBrgb(45, 78, 188)
HSLhsl(226, 61%, 46%)
HSVhsv(226, 76%, 74%)
CMYKcmyk(76.1%, 58.5%, 0%, 26.3%)
CIE-LABlab(37.18, 27.59, -61.31)
CIE-LCHlch(37.18, 67.23, 294.23°)
OKLaboklab(46.88% -0.0105 -0.177)
OKLCHoklch(46.88% 0.177 266.6)
XYZxyz(12.8805, 9.6361, 48.7483)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EBC #BC9B2D
analogous
#2D95BC #2D4EBC #542DBC
triadic
#2D4EBC #BC2D4E #4EBC2D
tetradic
#2D4EBC #BC2D95 #BC9B2D #2DBC54
square
#2D4EBC #BC2D95 #BC9B2D #2DBC54
split-complementary
#2D4EBC #BC542D #95BC2D
monochromatic
#152559 #213A8B #2D4EBC #516FD5 #8298E1

Accessibility & contrast

On white

7.17
#2D4EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2D4EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4EBC
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EBC#FFFFFF#000000##FFFFFF
##2D4EBC1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d4ebc;
/* rgb */ color: rgb(45, 78, 188);
/* oklch */ color: oklch(46.9% 0.177 266.6);
Tailwind
colors: {
  custom: {
    50: '#7b7fd1',
    500: '#2d4ebc',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ebc;
$custom-light: #7b7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ebc",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 226.154,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.17733,
    "h": 266.6
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#2D4EBC
secondary
#CAB87B
accent
#BF43E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2D4EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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