#2D2B73#2D2B73

#2D2B73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.120 H 279.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2D2B73
RGBrgb(45, 43, 115)
HSLhsl(242, 46%, 31%)
HSVhsv(242, 63%, 45%)
CMYKcmyk(60.9%, 62.6%, 0%, 54.9%)
CIE-LABlab(22.03, 23.93, -41.34)
CIE-LCHlch(22.03, 47.77, 300.06°)
OKLaboklab(33.76% 0.0189 -0.1188)
OKLCHoklch(33.76% 0.12 279)
XYZxyz(5.0396, 3.5231, 16.6308)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2B73 #71732B
analogous
#2B4D73 #2D2B73 #512B73
triadic
#2D2B73 #732D2B #2B732D
tetradic
#2D2B73 #732B4D #71732B #2B7351
square
#2D2B73 #732B4D #71732B #2B7351
split-complementary
#2D2B73 #73512B #4D732B
monochromatic
#0A0A1A #1C1A46 #2D2B73 #3E3CA0 #5B58C1

Accessibility & contrast

On white

12.32
#2D2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2B73
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2B73#FFFFFF#000000##FFFFFF
##2D2B731.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#013C4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2b73;
/* rgb */ color: rgb(45, 43, 115);
/* oklch */ color: oklch(33.8% 0.120 279.0);
Tailwind
colors: {
  custom: {
    50: '#6e649c',
    500: '#2d2b73',
    950: '#000000',
  },
}
SCSS
$custom: #2d2b73;
$custom-light: #6e649c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2b73",
  "rgb": {
    "r": 45,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 241.667,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33759,
    "c": 0.12025,
    "h": 279
  },
  "luminance": 0.03523
}

Semantic roles & 50–950 ramp

primary
#2D2B73
secondary
#A3A555
accent
#D553D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2D2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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