#2D2091#2D2091

#2D2091 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.9% C 0.174 H 277.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#2D2091
RGBrgb(45, 32, 145)
HSLhsl(247, 64%, 35%)
HSVhsv(247, 78%, 57%)
CMYKcmyk(69%, 77.9%, 0%, 43.1%)
CIE-LABlab(22.43, 41.00, -59.60)
CIE-LCHlch(22.43, 72.34, 304.52°)
OKLaboklab(34.92% 0.023 -0.1722)
OKLCHoklch(34.92% 0.174 277.6)
XYZxyz(6.7079, 3.6347, 27.1306)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2091 #849120
analogous
#204B91 #2D2091 #662091
triadic
#2D2091 #912D20 #20912D
tetradic
#2D2091 #91204B #849120 #209166
square
#2D2091 #91204B #849120 #209166
split-complementary
#2D2091 #916620 #4B9120
monochromatic
#0E0A2D #1D155F #2D2091 #3D2BC3 #6252D9

Accessibility & contrast

On white

12.16
#2D2091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2091
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2091#FFFFFF#000000##FFFFFF
##2D20911.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d2091;
/* rgb */ color: rgb(45, 32, 145);
/* oklch */ color: oklch(34.9% 0.174 277.6);
Tailwind
colors: {
  custom: {
    50: '#755eb2',
    500: '#2d2091',
    950: '#000000',
  },
}
SCSS
$custom: #2d2091;
$custom-light: #755eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2091",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 246.903,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34922,
    "c": 0.17373,
    "h": 277.6
  },
  "luminance": 0.03635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2091

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

Preview Lab → · Contrast checker → · Palette generator →

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