#2D2092#2D2092

#2D2092 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.175 H 277.5°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#2D2092
RGBrgb(45, 32, 146)
HSLhsl(247, 64%, 35%)
HSVhsv(247, 78%, 57%)
CMYKcmyk(69.2%, 78.1%, 0%, 42.7%)
CIE-LABlab(22.53, 41.33, -60.04)
CIE-LCHlch(22.53, 72.89, 304.54°)
OKLaboklab(35.03% 0.0228 -0.1735)
OKLCHoklch(35.03% 0.175 277.5)
XYZxyz(6.7853, 3.6656, 27.5385)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2092 #859220
analogous
#204C92 #2D2092 #662092
triadic
#2D2092 #922D20 #20922D
tetradic
#2D2092 #92204C #859220 #209266
square
#2D2092 #92204C #859220 #209266
split-complementary
#2D2092 #926620 #4C9220
monochromatic
#0E0A2E #1E1560 #2D2092 #3C2BC4 #6253D9

Accessibility & contrast

On white

12.12
#2D2092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2D2092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2092
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2092#FFFFFF#000000##FFFFFF
##2D20921.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2092;
/* rgb */ color: rgb(45, 32, 146);
/* oklch */ color: oklch(35.0% 0.175 277.5);
Tailwind
colors: {
  custom: {
    50: '#755eb3',
    500: '#2d2092',
    950: '#000000',
  },
}
SCSS
$custom: #2d2092;
$custom-light: #755eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2092",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 146
  },
  "hsl": {
    "h": 246.842,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35031,
    "c": 0.17497,
    "h": 277.5
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#2D2092
secondary
#B0BD51
accent
#E741D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D2092

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

Preview Lab → · Contrast checker → · Palette generator →

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