#2D207C#2D207C

#2D207C is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.147 H 280.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2D207C
RGBrgb(45, 32, 124)
HSLhsl(248, 59%, 31%)
HSVhsv(248, 74%, 49%)
CMYKcmyk(63.7%, 74.2%, 0%, 51.4%)
CIE-LABlab(20.23, 34.10, -50.04)
CIE-LCHlch(20.23, 60.55, 304.27°)
OKLaboklab(32.71% 0.0279 -0.1443)
OKLCHoklch(32.71% 0.147 280.9)
XYZxyz(5.2356, 3.0458, 19.3769)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D207C #6F7C20
analogous
#20417C #2D207C #5B207C
triadic
#2D207C #7C2D20 #207C2D
tetradic
#2D207C #7C2041 #6F7C20 #207C5B
square
#2D207C #7C2041 #6F7C20 #207C5B
split-complementary
#2D207C #7C5B20 #417C20
monochromatic
#0A071B #1B134B #2D207C #3F2DAD #5A47CF

Accessibility & contrast

On white

13.05
#2D207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D207C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D207C#FFFFFF#000000##FFFFFF
##2D207C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2d207c;
/* rgb */ color: rgb(45, 32, 124);
/* oklch */ color: oklch(32.7% 0.147 280.9);
Tailwind
colors: {
  custom: {
    50: '#715da3',
    500: '#2d207c',
    950: '#000000',
  },
}
SCSS
$custom: #2d207c;
$custom-light: #715da3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d207c",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 248.478,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32707,
    "c": 0.14695,
    "h": 280.9
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#2D207C
secondary
#A1AF49
accent
#E246CC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #2D207C

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

Preview Lab → · Contrast checker → · Palette generator →

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