#2D2483#2D2483

#2D2483 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.0% C 0.152 H 278.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#2D2483
RGBrgb(45, 36, 131)
HSLhsl(246, 57%, 33%)
HSVhsv(246, 73%, 51%)
CMYKcmyk(65.6%, 72.5%, 0%, 48.6%)
CIE-LABlab(21.79, 34.05, -51.90)
CIE-LCHlch(21.79, 62.07, 303.27°)
OKLaboklab(34.04% 0.0234 -0.1497)
OKLCHoklch(34.04% 0.152 278.9)
XYZxyz(5.8085, 3.4579, 21.8297)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2483 #7A8324
analogous
#244B83 #2D2483 #5C2483
triadic
#2D2483 #832D24 #24832D
tetradic
#2D2483 #83244B #7A8324 #24835C
square
#2D2483 #83244B #7A8324 #24835C
split-complementary
#2D2483 #835C24 #4B8324
monochromatic
#0C0A23 #1D1753 #2D2483 #3D31B3 #5E52CF

Accessibility & contrast

On white

12.41
#2D2483 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2D2483 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2483
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2483#FFFFFF#000000##FFFFFF
##2D24831.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2483;
/* rgb */ color: rgb(45, 36, 131);
/* oklch */ color: oklch(34.0% 0.152 278.9);
Tailwind
colors: {
  custom: {
    50: '#7260a8',
    500: '#2d2483',
    950: '#000000',
  },
}
SCSS
$custom: #2d2483;
$custom-light: #7260a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2483",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 131
  },
  "hsl": {
    "h": 245.684,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34036,
    "c": 0.15156,
    "h": 278.9
  },
  "luminance": 0.03458
}

Semantic roles & 50–950 ramp

primary
#2D2483
secondary
#AAB34F
accent
#E048D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2483

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

Preview Lab → · Contrast checker → · Palette generator →

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