#2D4BB1#2D4BB1

#2D4BB1 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.166 H 267.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2D4BB1
RGBrgb(45, 75, 177)
HSLhsl(226, 59%, 44%)
HSVhsv(226, 75%, 69%)
CMYKcmyk(74.6%, 57.6%, 0%, 30.6%)
CIE-LABlab(35.52, 25.44, -57.52)
CIE-LCHlch(35.52, 62.90, 293.85°)
OKLaboklab(45.37% -0.0087 -0.1659)
OKLCHoklch(45.37% 0.166 267)
XYZxyz(11.5313, 8.7631, 42.6702)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4BB1 #B1932D
analogous
#2D8DB1 #2D4BB1 #512DB1
triadic
#2D4BB1 #B12D4B #4BB12D
tetradic
#2D4BB1 #B12D8D #B1932D #2DB151
square
#2D4BB1 #B12D8D #B1932D #2DB151
split-complementary
#2D4BB1 #B1512D #8DB12D
monochromatic
#14224F #213680 #2D4BB1 #4A69D1 #7B91DD

Accessibility & contrast

On white

7.63
#2D4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2D4BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4BB1
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4BB1#FFFFFF#000000##FFFFFF
##2D4BB11.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2d4bb1;
/* rgb */ color: rgb(45, 75, 177);
/* oklch */ color: oklch(45.4% 0.166 267.0);
Tailwind
colors: {
  custom: {
    50: '#797cc9',
    500: '#2d4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2d4bb1;
$custom-light: #797cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4bb1",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 226.364,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45368,
    "c": 0.16617,
    "h": 267
  },
  "luminance": 0.08764
}

Semantic roles & 50–950 ramp

primary
#2D4BB1
secondary
#C6B374
accent
#BF45E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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