#2D4F83#2D4F83

#2D4F83 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.095 H 258.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2D4F83
RGBrgb(45, 79, 131)
HSLhsl(216, 49%, 35%)
HSVhsv(216, 66%, 51%)
CMYKcmyk(65.6%, 39.7%, 0%, 48.6%)
CIE-LABlab(33.54, 5.36, -32.92)
CIE-LCHlch(33.54, 33.36, 279.24°)
OKLaboklab(42.85% -0.0188 -0.0936)
OKLCHoklch(42.85% 0.095 258.7)
XYZxyz(7.9734, 7.7878, 22.5513)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F83 #83612D
analogous
#2D7A83 #2D4F83 #362D83
triadic
#2D4F83 #832D4F #4F832D
tetradic
#2D4F83 #832D7A #83612D #2D8336
square
#2D4F83 #832D7A #83612D #2D8336
split-complementary
#2D4F83 #83362D #7A832D
monochromatic
#0E1828 #1D3455 #2D4F83 #3D6AB1 #628AC9

Accessibility & contrast

On white

8.21
#2D4F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2D4F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F83
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F83#FFFFFF#000000##FFFFFF
##2D4F831.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385385
Deuteranopia (green-blind)
#2C4B82
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2d4f83;
/* rgb */ color: rgb(45, 79, 131);
/* oklch */ color: oklch(42.9% 0.095 258.7);
Tailwind
colors: {
  custom: {
    50: '#6f80a7',
    500: '#2d4f83',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f83;
$custom-light: #6f80a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f83",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 131
  },
  "hsl": {
    "h": 216.279,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42853,
    "c": 0.09544,
    "h": 258.7
  },
  "luminance": 0.07789
}

Semantic roles & 50–950 ramp

primary
#2D4F83
secondary
#AF8F5C
accent
#A24FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D4F83

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

Preview Lab → · Contrast checker → · Palette generator →

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