#2D2089#2D2089

#2D2089 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.1% C 0.164 H 278.8°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#2D2089
RGBrgb(45, 32, 137)
HSLhsl(247, 62%, 33%)
HSVhsv(247, 77%, 54%)
CMYKcmyk(67.2%, 76.6%, 0%, 46.3%)
CIE-LABlab(21.57, 38.40, -56.03)
CIE-LCHlch(21.57, 67.93, 304.42°)
OKLaboklab(34.06% 0.025 -0.1618)
OKLCHoklch(34.06% 0.164 278.8)
XYZxyz(6.1126, 3.3966, 23.9955)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2089 #7C8920
analogous
#204789 #2D2089 #612089
triadic
#2D2089 #892D20 #20892D
tetradic
#2D2089 #892047 #7C8920 #208961
square
#2D2089 #892047 #7C8920 #208961
split-complementary
#2D2089 #896120 #478920
monochromatic
#0C0926 #1D1457 #2D2089 #3D2CBB #5F4ED6

Accessibility & contrast

On white

12.50
#2D2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2089
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2089#FFFFFF#000000##FFFFFF
##2D20891.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2089;
/* rgb */ color: rgb(45, 32, 137);
/* oklch */ color: oklch(34.1% 0.164 278.8);
Tailwind
colors: {
  custom: {
    50: '#735ead',
    500: '#2d2089',
    950: '#000000',
  },
}
SCSS
$custom: #2d2089;
$custom-light: #735ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2089",
  "rgb": {
    "r": 45,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 247.429,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34062,
    "c": 0.16371,
    "h": 278.8
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#2D2089
secondary
#ABB94C
accent
#E543D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D2089

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

Preview Lab → · Contrast checker → · Palette generator →

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