#2D207D#2D207D

#2D207D is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.148 H 280.8°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#2D207D
RGBrgb(45, 32, 125)
HSLhsl(248, 59%, 31%)
HSVhsv(248, 74%, 49%)
CMYKcmyk(64%, 74.4%, 0%, 51%)
CIE-LABlab(20.33, 34.43, -50.51)
CIE-LCHlch(20.33, 61.13, 304.28°)
OKLaboklab(32.81% 0.0277 -0.1457)
OKLCHoklch(32.81% 0.148 280.8)
XYZxyz(5.2992, 3.0712, 19.7116)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D207D #707D20
analogous
#20417D #2D207D #5B207D
triadic
#2D207D #7D2D20 #207D2D
tetradic
#2D207D #7D2041 #707D20 #207D5B
square
#2D207D #7D2041 #707D20 #207D5B
split-complementary
#2D207D #7D5B20 #417D20
monochromatic
#0A071C #1B144C #2D207D #3F2CAE #5A47D0

Accessibility & contrast

On white

13.01
#2D207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2D207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D207D
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D207D#FFFFFF#000000##FFFFFF
##2D207D1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d207d;
/* rgb */ color: rgb(45, 32, 125);
/* oklch */ color: oklch(32.8% 0.148 280.8);
Tailwind
colors: {
  custom: {
    50: '#715da4',
    500: '#2d207d',
    950: '#000000',
  },
}
SCSS
$custom: #2d207d;
$custom-light: #715da4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d207d",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 248.387,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32809,
    "c": 0.14827,
    "h": 280.8
  },
  "luminance": 0.03072
}

Semantic roles & 50–950 ramp

primary
#2D207D
secondary
#A2B049
accent
#E245CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2D207D

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

Preview Lab → · Contrast checker → · Palette generator →

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