#2D2973#2D2973

#2D2973 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.123 H 279.8°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2D2973
RGBrgb(45, 41, 115)
HSLhsl(243, 47%, 31%)
HSVhsv(243, 64%, 45%)
CMYKcmyk(60.9%, 64.3%, 0%, 54.9%)
CIE-LABlab(21.51, 25.27, -42.19)
CIE-LCHlch(21.51, 49.18, 300.93°)
OKLaboklab(33.38% 0.0209 -0.1212)
OKLCHoklch(33.38% 0.123 279.8)
XYZxyz(4.9687, 3.3812, 16.6071)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2973 #6F7329
analogous
#294A73 #2D2973 #522973
triadic
#2D2973 #732D29 #29732D
tetradic
#2D2973 #73294A #6F7329 #297352
square
#2D2973 #73294A #6F7329 #297352
split-complementary
#2D2973 #735229 #4A7329
monochromatic
#0A0919 #1B1946 #2D2973 #3F39A0 #5A54C2

Accessibility & contrast

On white

12.53
#2D2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2973
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2973#FFFFFF#000000##FFFFFF
##2D29731.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#023B4A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2973;
/* rgb */ color: rgb(45, 41, 115);
/* oklch */ color: oklch(33.4% 0.123 279.8);
Tailwind
colors: {
  custom: {
    50: '#6e639c',
    500: '#2d2973',
    950: '#000000',
  },
}
SCSS
$custom: #2d2973;
$custom-light: #6e639c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2973",
  "rgb": {
    "r": 45,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 243.243,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33378,
    "c": 0.12304,
    "h": 279.8
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#2D2973
secondary
#A1A553
accent
#D751D0
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2D2973

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

Preview Lab → · Contrast checker → · Palette generator →

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