#2D2093#2D2093

#2D2093 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.176 H 277.3°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#2D2093
RGBrgb(45, 32, 147)
HSLhsl(247, 64%, 35%)
HSVhsv(247, 78%, 58%)
CMYKcmyk(69.4%, 78.2%, 0%, 42.4%)
CIE-LABlab(22.64, 41.65, -60.48)
CIE-LCHlch(22.64, 73.43, 304.55°)
OKLaboklab(35.14% 0.0225 -0.1748)
OKLCHoklch(35.14% 0.176 277.3)
XYZxyz(6.8634, 3.6969, 27.9500)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2093 #869320
analogous
#204C93 #2D2093 #672093
triadic
#2D2093 #932D20 #20932D
tetradic
#2D2093 #93204C #869320 #209367
square
#2D2093 #93204C #869320 #209367
split-complementary
#2D2093 #936720 #4C9320
monochromatic
#0E0A2E #1E1561 #2D2093 #3C2BC5 #6354DA

Accessibility & contrast

On white

12.07
#2D2093 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D2093 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2093
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2093#FFFFFF#000000##FFFFFF
##2D20931.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2093;
/* rgb */ color: rgb(45, 32, 147);
/* oklch */ color: oklch(35.1% 0.176 277.3);
Tailwind
colors: {
  custom: {
    50: '#765eb4',
    500: '#2d2093',
    950: '#000000',
  },
}
SCSS
$custom: #2d2093;
$custom-light: #765eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2093",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 246.783,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3514,
    "c": 0.1762,
    "h": 277.3
  },
  "luminance": 0.03697
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2093

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

Preview Lab → · Contrast checker → · Palette generator →

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