#2D4E83#2D4E83

#2D4E83 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.097 H 259.5°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#2D4E83
RGBrgb(45, 78, 131)
HSLhsl(217, 49%, 35%)
HSVhsv(217, 66%, 51%)
CMYKcmyk(65.6%, 40.5%, 0%, 48.6%)
CIE-LABlab(33.23, 6.02, -33.41)
CIE-LCHlch(33.23, 33.95, 280.21°)
OKLaboklab(42.62% -0.0177 -0.095)
OKLCHoklch(42.62% 0.097 259.5)
XYZxyz(7.9019, 7.6446, 22.5275)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E83 #83622D
analogous
#2D7983 #2D4E83 #372D83
triadic
#2D4E83 #832D4E #4E832D
tetradic
#2D4E83 #832D79 #83622D #2D8337
square
#2D4E83 #832D79 #83622D #2D8337
split-complementary
#2D4E83 #83372D #79832D
monochromatic
#0E1828 #1D3355 #2D4E83 #3D69B1 #6289C9

Accessibility & contrast

On white

8.30
#2D4E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2D4E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E83
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E83#FFFFFF#000000##FFFFFF
##2D4E831.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375285
Deuteranopia (green-blind)
#2A4A82
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2d4e83;
/* rgb */ color: rgb(45, 78, 131);
/* oklch */ color: oklch(42.6% 0.097 259.5);
Tailwind
colors: {
  custom: {
    50: '#6f7fa7',
    500: '#2d4e83',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e83;
$custom-light: #6f7fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e83",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 131
  },
  "hsl": {
    "h": 216.977,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42616,
    "c": 0.09663,
    "h": 259.5
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#2D4E83
secondary
#AF905C
accent
#A44FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D4E83

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

Preview Lab → · Contrast checker → · Palette generator →

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