#2D4E85#2D4E85

#2D4E85 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.100 H 260.1°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2D4E85
RGBrgb(45, 78, 133)
HSLhsl(218, 49%, 35%)
HSVhsv(218, 66%, 52%)
CMYKcmyk(66.2%, 41.4%, 0%, 47.8%)
CIE-LABlab(33.35, 6.76, -34.45)
CIE-LCHlch(33.35, 35.11, 281.11°)
OKLaboklab(42.75% -0.0172 -0.0981)
OKLCHoklch(42.75% 0.1 260.1)
XYZxyz(8.0387, 7.6994, 23.2482)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E85 #85642D
analogous
#2D7A85 #2D4E85 #382D85
triadic
#2D4E85 #852D4E #4E852D
tetradic
#2D4E85 #852D7A #85642D #2D8538
square
#2D4E85 #852D7A #85642D #2D8538
split-complementary
#2D4E85 #85382D #7A852D
monochromatic
#0E182A #1E3357 #2D4E85 #3C69B3 #6289CA

Accessibility & contrast

On white

8.27
#2D4E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2D4E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E85
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E85#FFFFFF#000000##FFFFFF
##2D4E851.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355387
Deuteranopia (green-blind)
#294B84
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4e85;
/* rgb */ color: rgb(45, 78, 133);
/* oklch */ color: oklch(42.7% 0.100 260.1);
Tailwind
colors: {
  custom: {
    50: '#6f7fa9',
    500: '#2d4e85',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e85;
$custom-light: #6f7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e85",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 133
  },
  "hsl": {
    "h": 217.5,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42745,
    "c": 0.09957,
    "h": 260.1
  },
  "luminance": 0.077
}

Semantic roles & 50–950 ramp

primary
#2D4E85
secondary
#B0915D
accent
#A54FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2D4E85

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

Preview Lab → · Contrast checker → · Palette generator →

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