#2D4BB4#2D4BB4

#2D4BB4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.170 H 267.1°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2D4BB4
RGBrgb(45, 75, 180)
HSLhsl(227, 60%, 44%)
HSVhsv(227, 75%, 71%)
CMYKcmyk(75%, 58.3%, 0%, 29.4%)
CIE-LABlab(35.76, 26.56, -58.92)
CIE-LCHlch(35.76, 64.63, 294.27°)
OKLaboklab(45.62% -0.0086 -0.17)
OKLCHoklch(45.62% 0.17 267.1)
XYZxyz(11.8336, 8.8840, 44.2623)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4BB4 #B4962D
analogous
#2D8FB4 #2D4BB4 #532DB4
triadic
#2D4BB4 #B42D4B #4BB42D
tetradic
#2D4BB4 #B42D8F #B4962D #2DB453
square
#2D4BB4 #B42D8F #B4962D #2DB453
split-complementary
#2D4BB4 #B4532D #8FB42D
monochromatic
#152252 #213783 #2D4BB4 #4C6AD2 #7D93DE

Accessibility & contrast

On white

7.56
#2D4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2D4BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4BB4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4BB4#FFFFFF#000000##FFFFFF
##2D4BB41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4bb4;
/* rgb */ color: rgb(45, 75, 180);
/* oklch */ color: oklch(45.6% 0.170 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a7ccb',
    500: '#2d4bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2d4bb4;
$custom-light: #7a7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4bb4",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 226.667,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.17025,
    "h": 267.1
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#2D4BB4
secondary
#C7B576
accent
#C045E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2D4BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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