#2D4DB1#2D4DB1

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

Color values

HEX#2D4DB1
RGBrgb(45, 77, 177)
HSLhsl(225, 59%, 44%)
HSVhsv(225, 75%, 69%)
CMYKcmyk(74.6%, 56.5%, 0%, 30.6%)
CIE-LABlab(36.06, 24.11, -56.65)
CIE-LCHlch(36.06, 61.57, 293.06°)
OKLaboklab(45.77% -0.0102 -0.1634)
OKLCHoklch(45.77% 0.164 266.4)
XYZxyz(11.6691, 9.0387, 42.7161)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4DB1 #B1912D
analogous
#2D8FB1 #2D4DB1 #4F2DB1
triadic
#2D4DB1 #B12D4D #4DB12D
tetradic
#2D4DB1 #B12D8F #B1912D #2DB14F
square
#2D4DB1 #B12D8F #B1912D #2DB14F
split-complementary
#2D4DB1 #B14F2D #8FB12D
monochromatic
#14234F #213880 #2D4DB1 #4A6BD1 #7B93DD

Accessibility & contrast

On white

7.48
#2D4DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2D4DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4DB1
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4DB1#FFFFFF#000000##FFFFFF
##2D4DB11.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2d4db1;
/* rgb */ color: rgb(45, 77, 177);
/* oklch */ color: oklch(45.8% 0.164 266.4);
Tailwind
colors: {
  custom: {
    50: '#797ec9',
    500: '#2d4db1',
    950: '#000000',
  },
}
SCSS
$custom: #2d4db1;
$custom-light: #797ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4db1",
  "rgb": {
    "r": 45,
    "g": 77,
    "b": 177
  },
  "hsl": {
    "h": 225.455,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45769,
    "c": 0.16368,
    "h": 266.4
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#2D4DB1
secondary
#C6B274
accent
#BC45E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2D4DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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