#2D2485#2D2485

#2D2485 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.154 H 278.6°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#2D2485
RGBrgb(45, 36, 133)
HSLhsl(246, 57%, 33%)
HSVhsv(246, 73%, 52%)
CMYKcmyk(66.2%, 72.9%, 0%, 47.8%)
CIE-LABlab(21.99, 34.73, -52.83)
CIE-LCHlch(21.99, 63.22, 303.32°)
OKLaboklab(34.24% 0.0231 -0.1525)
OKLCHoklch(34.24% 0.154 278.6)
XYZxyz(5.9453, 3.5126, 22.5505)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2485 #7C8524
analogous
#244B85 #2D2485 #5D2485
triadic
#2D2485 #852D24 #24852D
tetradic
#2D2485 #85244B #7C8524 #24855D
square
#2D2485 #85244B #7C8524 #24855D
split-complementary
#2D2485 #855D24 #4B8524
monochromatic
#0C0A25 #1D1755 #2D2485 #3D31B5 #5F53D0

Accessibility & contrast

On white

12.33
#2D2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2485
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2485#FFFFFF#000000##FFFFFF
##2D24851.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2485;
/* rgb */ color: rgb(45, 36, 133);
/* oklch */ color: oklch(34.2% 0.154 278.6);
Tailwind
colors: {
  custom: {
    50: '#7260a9',
    500: '#2d2485',
    950: '#000000',
  },
}
SCSS
$custom: #2d2485;
$custom-light: #7260a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2485",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 245.567,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34238,
    "c": 0.15419,
    "h": 278.6
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#2D2485
secondary
#ABB450
accent
#E147D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2485

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

Preview Lab → · Contrast checker → · Palette generator →

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