#2D4EBE#2D4EBE

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

Color values

HEX#2D4EBE
RGBrgb(45, 78, 190)
HSLhsl(226, 62%, 46%)
HSVhsv(226, 76%, 75%)
CMYKcmyk(76.3%, 58.9%, 0%, 25.5%)
CIE-LABlab(37.34, 28.34, -62.22)
CIE-LCHlch(37.34, 68.37, 294.49°)
OKLaboklab(47.05% -0.0104 -0.1797)
OKLCHoklch(47.05% 0.18 266.7)
XYZxyz(13.0976, 9.7229, 49.8916)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4EBE #BE9D2D
analogous
#2D96BE #2D4EBE #542DBE
triadic
#2D4EBE #BE2D4E #4EBE2D
tetradic
#2D4EBE #BE2D96 #BE9D2D #2DBE54
square
#2D4EBE #BE2D96 #BE9D2D #2DBE54
split-complementary
#2D4EBE #BE542D #96BE2D
monochromatic
#16255B #213A8D #2D4EBE #5270D6 #8499E2

Accessibility & contrast

On white

7.13
#2D4EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4EBE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4EBE#FFFFFF#000000##FFFFFF
##2D4EBE1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4ebe;
/* rgb */ color: rgb(45, 78, 190);
/* oklch */ color: oklch(47.0% 0.180 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c7fd2',
    500: '#2d4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ebe;
$custom-light: #7c7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ebe",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 226.345,
    "s": 61.702,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47048,
    "c": 0.18,
    "h": 266.7
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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