#2D2773#2D2773

#2D2773 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.126 H 280.5°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#2D2773
RGBrgb(45, 39, 115)
HSLhsl(245, 49%, 30%)
HSVhsv(245, 66%, 45%)
CMYKcmyk(60.9%, 66.1%, 0%, 54.9%)
CIE-LABlab(21.00, 26.60, -43.01)
CIE-LCHlch(21.00, 50.57, 301.74°)
OKLaboklab(33.01% 0.023 -0.1237)
OKLCHoklch(33.01% 0.126 280.5)
XYZxyz(4.9012, 3.2464, 16.5847)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2773 #6D7327
analogous
#274773 #2D2773 #532773
triadic
#2D2773 #732D27 #27732D
tetradic
#2D2773 #732747 #6D7327 #277353
square
#2D2773 #732747 #6D7327 #277353
split-complementary
#2D2773 #735327 #477327
monochromatic
#090818 #1B1845 #2D2773 #3F36A1 #5A51C4

Accessibility & contrast

On white

12.73
#2D2773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2D2773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2773
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2773#FFFFFF#000000##FFFFFF
##2D27731.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#023A49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2d2773;
/* rgb */ color: rgb(45, 39, 115);
/* oklch */ color: oklch(33.0% 0.126 280.5);
Tailwind
colors: {
  custom: {
    50: '#6e619c',
    500: '#2d2773',
    950: '#000000',
  },
}
SCSS
$custom: #2d2773;
$custom-light: #6e619c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2773",
  "rgb": {
    "r": 45,
    "g": 39,
    "b": 115
  },
  "hsl": {
    "h": 244.737,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33009,
    "c": 0.12579,
    "h": 280.5
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#2D2773
secondary
#9FA550
accent
#D94FCE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2D2773

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

Preview Lab → · Contrast checker → · Palette generator →

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