#2D2192#2D2192

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

Color values

HEX#2D2192
RGBrgb(45, 33, 146)
HSLhsl(246, 63%, 35%)
HSVhsv(246, 77%, 57%)
CMYKcmyk(69.2%, 77.4%, 0%, 42.7%)
CIE-LABlab(22.72, 40.78, -59.73)
CIE-LCHlch(22.72, 72.32, 304.32°)
OKLaboklab(35.17% 0.0222 -0.1726)
OKLCHoklch(35.17% 0.174 277.3)
XYZxyz(6.8127, 3.7203, 27.5476)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2192 #869221
analogous
#214D92 #2D2192 #662192
triadic
#2D2192 #922D21 #21922D
tetradic
#2D2192 #92214D #869221 #219266
square
#2D2192 #92214D #869221 #219266
split-complementary
#2D2192 #926621 #4D9221
monochromatic
#0E0A2E #1E1660 #2D2192 #3C2CC4 #6355D9

Accessibility & contrast

On white

12.04
#2D2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2192
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2192#FFFFFF#000000##FFFFFF
##2D21921.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2192;
/* rgb */ color: rgb(45, 33, 146);
/* oklch */ color: oklch(35.2% 0.174 277.3);
Tailwind
colors: {
  custom: {
    50: '#755fb3',
    500: '#2d2192',
    950: '#000000',
  },
}
SCSS
$custom: #2d2192;
$custom-light: #755fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2192",
  "rgb": {
    "r": 45,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 246.372,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35165,
    "c": 0.174,
    "h": 277.3
  },
  "luminance": 0.03721
}

Semantic roles & 50–950 ramp

primary
#2D2192
secondary
#B1BC53
accent
#E642D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2D2192

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

Preview Lab → · Contrast checker → · Palette generator →

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