#2D4BB6#2D4BB6

#2D4BB6 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.173 H 267.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2D4BB6
RGBrgb(45, 75, 182)
HSLhsl(227, 60%, 45%)
HSVhsv(227, 75%, 71%)
CMYKcmyk(75.3%, 58.8%, 0%, 28.6%)
CIE-LABlab(35.92, 27.31, -59.84)
CIE-LCHlch(35.92, 65.78, 294.54°)
OKLaboklab(45.79% -0.0085 -0.1727)
OKLCHoklch(45.79% 0.173 267.2)
XYZxyz(12.0388, 8.9661, 45.3431)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4BB6 #B6982D
analogous
#2D90B6 #2D4BB6 #532DB6
triadic
#2D4BB6 #B62D4B #4BB62D
tetradic
#2D4BB6 #B62D90 #B6982D #2DB653
square
#2D4BB6 #B62D90 #B6982D #2DB653
split-complementary
#2D4BB6 #B6532D #90B62D
monochromatic
#152354 #213785 #2D4BB6 #4D6AD3 #7E93DF

Accessibility & contrast

On white

7.52
#2D4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2D4BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4BB6
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4BB6#FFFFFF#000000##FFFFFF
##2D4BB61.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4bb6;
/* rgb */ color: rgb(45, 75, 182);
/* oklch */ color: oklch(45.8% 0.173 267.2);
Tailwind
colors: {
  custom: {
    50: '#7a7ccd',
    500: '#2d4bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2d4bb6;
$custom-light: #7a7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4bb6",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 226.861,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45787,
    "c": 0.17295,
    "h": 267.2
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#2D4BB6
secondary
#C8B677
accent
#C144E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D4BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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