#2D2389#2D2389

#2D2389 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.161 H 278.2°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#2D2389
RGBrgb(45, 35, 137)
HSLhsl(246, 59%, 34%)
HSVhsv(246, 74%, 54%)
CMYKcmyk(67.2%, 74.5%, 0%, 46.3%)
CIE-LABlab(22.18, 36.67, -55.03)
CIE-LCHlch(22.18, 66.13, 303.68°)
OKLaboklab(34.5% 0.023 -0.1589)
OKLCHoklch(34.5% 0.161 278.2)
XYZxyz(6.1971, 3.5656, 24.0237)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2389 #7F8923
analogous
#234C89 #2D2389 #602389
triadic
#2D2389 #892D23 #23892D
tetradic
#2D2389 #89234C #7F8923 #238960
square
#2D2389 #89234C #7F8923 #238960
split-complementary
#2D2389 #896023 #4C8923
monochromatic
#0D0A28 #1D1758 #2D2389 #3D2FBA #6053D3

Accessibility & contrast

On white

12.26
#2D2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2D2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2389
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2389#FFFFFF#000000##FFFFFF
##2D23891.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d2389;
/* rgb */ color: rgb(45, 35, 137);
/* oklch */ color: oklch(34.5% 0.161 278.2);
Tailwind
colors: {
  custom: {
    50: '#735fac',
    500: '#2d2389',
    950: '#000000',
  },
}
SCSS
$custom: #2d2389;
$custom-light: #735fac;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2389",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 245.882,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34496,
    "c": 0.16052,
    "h": 278.2
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#2D2389
secondary
#ADB751
accent
#E245D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #2D2389

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

Preview Lab → · Contrast checker → · Palette generator →

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