#2D2385#2D2385

#2D2385 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.155 H 278.8°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#2D2385
RGBrgb(45, 35, 133)
HSLhsl(246, 58%, 33%)
HSVhsv(246, 74%, 52%)
CMYKcmyk(66.2%, 73.7%, 0%, 47.8%)
CIE-LABlab(21.77, 35.33, -53.19)
CIE-LCHlch(21.77, 63.85, 303.60°)
OKLaboklab(34.08% 0.0238 -0.1535)
OKLCHoklch(34.08% 0.155 278.8)
XYZxyz(5.9155, 3.4529, 22.5405)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2385 #7B8523
analogous
#234A85 #2D2385 #5E2385
triadic
#2D2385 #852D23 #23852D
tetradic
#2D2385 #85234A #7B8523 #23855E
square
#2D2385 #85234A #7B8523 #23855E
split-complementary
#2D2385 #855E23 #4A8523
monochromatic
#0C0924 #1D1655 #2D2385 #3D30B5 #5E51D1

Accessibility & contrast

On white

12.42
#2D2385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2385
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2385#FFFFFF#000000##FFFFFF
##2D23851.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2385;
/* rgb */ color: rgb(45, 35, 133);
/* oklch */ color: oklch(34.1% 0.155 278.8);
Tailwind
colors: {
  custom: {
    50: '#725fa9',
    500: '#2d2385',
    950: '#000000',
  },
}
SCSS
$custom: #2d2385;
$custom-light: #725fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2385",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 133
  },
  "hsl": {
    "h": 246.122,
    "s": 58.333,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34084,
    "c": 0.15533,
    "h": 278.8
  },
  "luminance": 0.03453
}

Semantic roles & 50–950 ramp

primary
#2D2385
secondary
#ABB54F
accent
#E246D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2385

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

Preview Lab → · Contrast checker → · Palette generator →

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