#2D4DBC#2D4DBC

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

Color values

HEX#2D4DBC
RGBrgb(45, 77, 188)
HSLhsl(227, 61%, 46%)
HSVhsv(227, 76%, 74%)
CMYKcmyk(76.1%, 59%, 0%, 26.3%)
CIE-LABlab(36.92, 28.25, -61.73)
CIE-LCHlch(36.92, 67.89, 294.59°)
OKLaboklab(46.69% -0.0098 -0.1783)
OKLCHoklch(46.69% 0.179 266.9)
XYZxyz(12.8100, 9.4951, 48.7248)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DBC #BC9C2D
analogous
#2D94BC #2D4DBC #542DBC
triadic
#2D4DBC #BC2D4D #4DBC2D
tetradic
#2D4DBC #BC2D94 #BC9C2D #2DBC54
square
#2D4DBC #BC2D94 #BC9C2D #2DBC54
split-complementary
#2D4DBC #BC542D #94BC2D
monochromatic
#152559 #21398B #2D4DBC #516FD5 #8297E1

Accessibility & contrast

On white

7.24
#2D4DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2D4DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4DBC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DBC#FFFFFF#000000##FFFFFF
##2D4DBC1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2d4dbc;
/* rgb */ color: rgb(45, 77, 188);
/* oklch */ color: oklch(46.7% 0.179 266.9);
Tailwind
colors: {
  custom: {
    50: '#7b7ed1',
    500: '#2d4dbc',
    950: '#000000',
  },
}
SCSS
$custom: #2d4dbc;
$custom-light: #7b7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4dbc",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 226.573,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46685,
    "c": 0.17855,
    "h": 266.9
  },
  "luminance": 0.09496
}

Semantic roles & 50–950 ramp

primary
#2D4DBC
secondary
#CAB87B
accent
#C043E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D4DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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