#2D2490#2D2490

#2D2490 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.168 H 277.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2D2490
RGBrgb(45, 36, 144)
HSLhsl(245, 60%, 35%)
HSVhsv(245, 75%, 56%)
CMYKcmyk(68.7%, 75%, 0%, 43.5%)
CIE-LABlab(23.11, 38.43, -57.85)
CIE-LCHlch(23.11, 69.45, 303.60°)
OKLaboklab(35.37% 0.0209 -0.1671)
OKLCHoklch(35.37% 0.168 277.1)
XYZxyz(6.7455, 3.8327, 26.7644)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2490 #879024
analogous
#245190 #2D2490 #632490
triadic
#2D2490 #902D24 #24902D
tetradic
#2D2490 #902451 #879024 #249063
square
#2D2490 #902451 #879024 #249063
split-complementary
#2D2490 #906324 #519024
monochromatic
#0E0C2E #1E185F #2D2490 #3C30C1 #6359D5

Accessibility & contrast

On white

11.89
#2D2490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D2490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2490
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2490#FFFFFF#000000##FFFFFF
##2D24901.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2490;
/* rgb */ color: rgb(45, 36, 144);
/* oklch */ color: oklch(35.4% 0.168 277.1);
Tailwind
colors: {
  custom: {
    50: '#7560b2',
    500: '#2d2490',
    950: '#000000',
  },
}
SCSS
$custom: #2d2490;
$custom-light: #7560b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2490",
  "rgb": {
    "r": 45,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 245,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35374,
    "c": 0.16843,
    "h": 277.1
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#2D2490
secondary
#B2BA56
accent
#E345D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2D2490

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

Preview Lab → · Contrast checker → · Palette generator →

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