#2D209C#2D209C

#2D209C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.187 H 276.2°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2D209C
RGBrgb(45, 32, 156)
HSLhsl(246, 66%, 37%)
HSVhsv(246, 79%, 61%)
CMYKcmyk(71.2%, 79.5%, 0%, 38.8%)
CIE-LABlab(23.64, 44.52, -64.37)
CIE-LCHlch(23.64, 78.27, 304.67°)
OKLaboklab(36.13% 0.0202 -0.1861)
OKLCHoklch(36.13% 0.187 276.2)
XYZxyz(7.5975, 3.9905, 31.8159)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D209C #8F9C20
analogous
#20519C #2D209C #6B209C
triadic
#2D209C #9C2D20 #209C2D
tetradic
#2D209C #9C2051 #8F9C20 #209C6B
square
#2D209C #9C2051 #8F9C20 #209C6B
split-complementary
#2D209C #9C6B20 #519C20
monochromatic
#100B36 #1E1669 #2D209C #3C2ACF #6759DD

Accessibility & contrast

On white

11.68
#2D209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D209C
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D209C#FFFFFF#000000##FFFFFF
##2D209C1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d209c;
/* rgb */ color: rgb(45, 32, 156);
/* oklch */ color: oklch(36.1% 0.187 276.2);
Tailwind
colors: {
  custom: {
    50: '#785fba',
    500: '#2d209c',
    950: '#000000',
  },
}
SCSS
$custom: #2d209c;
$custom-light: #785fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2d209c",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 246.29,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36133,
    "c": 0.18717,
    "h": 276.2
  },
  "luminance": 0.03991
}

Semantic roles & 50–950 ramp

primary
#2D209C
secondary
#B6C157
accent
#E93FD7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D209C

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

Preview Lab → · Contrast checker → · Palette generator →

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