#2D4983#2D4983

#2D4983 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.103 H 263.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2D4983
RGBrgb(45, 73, 131)
HSLhsl(220, 49%, 35%)
HSVhsv(220, 66%, 51%)
CMYKcmyk(65.6%, 44.3%, 0%, 48.6%)
CIE-LABlab(31.72, 9.35, -35.82)
CIE-LCHlch(31.72, 37.02, 284.63°)
OKLaboklab(41.45% -0.0121 -0.1021)
OKLCHoklch(41.45% 0.103 263.2)
XYZxyz(7.5600, 6.9610, 22.4135)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4983 #83672D
analogous
#2D7483 #2D4983 #3C2D83
triadic
#2D4983 #832D49 #49832D
tetradic
#2D4983 #832D74 #83672D #2D833C
square
#2D4983 #832D74 #83672D #2D833C
split-complementary
#2D4983 #833C2D #74832D
monochromatic
#0E1628 #1D3055 #2D4983 #3D62B1 #6283C9

Accessibility & contrast

On white

8.78
#2D4983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D4983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4983
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4983#FFFFFF#000000##FFFFFF
##2D49831.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4F85
Deuteranopia (green-blind)
#214782
Tritanopia (blue-blind)
#00565F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d4983;
/* rgb */ color: rgb(45, 73, 131);
/* oklch */ color: oklch(41.4% 0.103 263.2);
Tailwind
colors: {
  custom: {
    50: '#6f7ba7',
    500: '#2d4983',
    950: '#000000',
  },
}
SCSS
$custom: #2d4983;
$custom-light: #6f7ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4983",
  "rgb": {
    "r": 45,
    "g": 73,
    "b": 131
  },
  "hsl": {
    "h": 220.465,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41445,
    "c": 0.10286,
    "h": 263.2
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#2D4983
secondary
#AF945C
accent
#AC4FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2D4983

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

Preview Lab → · Contrast checker → · Palette generator →

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