#2D4E80#2D4E80

#2D4E80 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.4% C 0.092 H 258.5°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2D4E80
RGBrgb(45, 78, 128)
HSLhsl(216, 48%, 34%)
HSVhsv(216, 65%, 50%)
CMYKcmyk(64.8%, 39.1%, 0%, 49.8%)
CIE-LABlab(33.06, 4.90, -31.83)
CIE-LCHlch(33.06, 32.20, 278.76°)
OKLaboklab(42.43% -0.0184 -0.0904)
OKLCHoklch(42.43% 0.092 258.5)
XYZxyz(7.7015, 7.5645, 21.4721)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E80 #805F2D
analogous
#2D7880 #2D4E80 #362D80
triadic
#2D4E80 #802D4E #4E802D
tetradic
#2D4E80 #802D78 #805F2D #2D8036
square
#2D4E80 #802D78 #805F2D #2D8036
split-complementary
#2D4E80 #80362D #78802D
monochromatic
#0D1725 #1D3253 #2D4E80 #3D6AAD #6089C7

Accessibility & contrast

On white

8.36
#2D4E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2D4E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E80
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E80#FFFFFF#000000##FFFFFF
##2D4E801.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385282
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#005961
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4e80;
/* rgb */ color: rgb(45, 78, 128);
/* oklch */ color: oklch(42.4% 0.092 258.5);
Tailwind
colors: {
  custom: {
    50: '#6e7fa5',
    500: '#2d4e80',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e80;
$custom-light: #6e7fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e80",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 128
  },
  "hsl": {
    "h": 216.145,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42425,
    "c": 0.09224,
    "h": 258.5
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#2D4E80
secondary
#AE8D5B
accent
#A250D8
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D4E80

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

Preview Lab → · Contrast checker → · Palette generator →

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