#2D5083#2D5083

#2D5083 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.1% C 0.094 H 257.8°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2D5083
RGBrgb(45, 80, 131)
HSLhsl(216, 49%, 35%)
HSVhsv(216, 66%, 51%)
CMYKcmyk(65.6%, 38.9%, 0%, 48.6%)
CIE-LABlab(33.84, 4.70, -32.44)
CIE-LCHlch(33.84, 32.78, 278.25°)
OKLaboklab(43.09% -0.0199 -0.0921)
OKLCHoklch(43.09% 0.094 257.8)
XYZxyz(8.0461, 7.9331, 22.5756)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5083 #83602D
analogous
#2D7B83 #2D5083 #352D83
triadic
#2D5083 #832D50 #50832D
tetradic
#2D5083 #832D7B #83602D #2D8335
square
#2D5083 #832D7B #83602D #2D8335
split-complementary
#2D5083 #83352D #7B832D
monochromatic
#0E1828 #1D3455 #2D5083 #3D6CB1 #628CC9

Accessibility & contrast

On white

8.12
#2D5083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2D5083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5083
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5083#FFFFFF#000000##FFFFFF
##2D50831.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#2E4C82
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2d5083;
/* rgb */ color: rgb(45, 80, 131);
/* oklch */ color: oklch(43.1% 0.094 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f80a7',
    500: '#2d5083',
    950: '#000000',
  },
}
SCSS
$custom: #2d5083;
$custom-light: #6f80a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5083",
  "rgb": {
    "r": 45,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 215.581,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43091,
    "c": 0.09425,
    "h": 257.8
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#2D5083
secondary
#AF8E5C
accent
#A14FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2D5083

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

Preview Lab → · Contrast checker → · Palette generator →

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