#2D4AB6#2D4AB6

#2D4AB6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.174 H 267.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2D4AB6
RGBrgb(45, 74, 182)
HSLhsl(227, 60%, 45%)
HSVhsv(227, 75%, 71%)
CMYKcmyk(75.3%, 59.3%, 0%, 28.6%)
CIE-LABlab(35.66, 27.97, -60.26)
CIE-LCHlch(35.66, 66.44, 294.90°)
OKLaboklab(45.59% -0.0078 -0.174)
OKLCHoklch(45.59% 0.174 267.4)
XYZxyz(11.9715, 8.8315, 45.3206)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4AB6 #B6992D
analogous
#2D8FB6 #2D4AB6 #542DB6
triadic
#2D4AB6 #B62D4A #4AB62D
tetradic
#2D4AB6 #B62D8F #B6992D #2DB654
square
#2D4AB6 #B62D8F #B6992D #2DB654
split-complementary
#2D4AB6 #B6542D #8FB62D
monochromatic
#152254 #213685 #2D4AB6 #4D6AD3 #7E93DF

Accessibility & contrast

On white

7.59
#2D4AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D4AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4AB6
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4AB6#FFFFFF#000000##FFFFFF
##2D4AB61.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4ab6;
/* rgb */ color: rgb(45, 74, 182);
/* oklch */ color: oklch(45.6% 0.174 267.4);
Tailwind
colors: {
  custom: {
    50: '#7a7ccd',
    500: '#2d4ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2d4ab6;
$custom-light: #7a7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4ab6",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 182
  },
  "hsl": {
    "h": 227.299,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45592,
    "c": 0.17418,
    "h": 267.4
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#2D4AB6
secondary
#C8B777
accent
#C244E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2D4AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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