#2D2590#2D2590

#2D2590 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.167 H 276.9°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#2D2590
RGBrgb(45, 37, 144)
HSLhsl(244, 59%, 35%)
HSVhsv(244, 74%, 56%)
CMYKcmyk(68.7%, 74.3%, 0%, 43.5%)
CIE-LABlab(23.32, 37.85, -57.51)
CIE-LCHlch(23.32, 68.85, 303.35°)
OKLaboklab(35.52% 0.0202 -0.1661)
OKLCHoklch(35.52% 0.167 276.9)
XYZxyz(6.7762, 3.8940, 26.7747)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2590 #889025
analogous
#255290 #2D2590 #622590
triadic
#2D2590 #902D25 #25902D
tetradic
#2D2590 #902552 #889025 #259062
square
#2D2590 #902552 #889025 #259062
split-complementary
#2D2590 #906225 #529025
monochromatic
#0F0C2F #1E185F #2D2590 #3C32C1 #645BD5

Accessibility & contrast

On white

11.80
#2D2590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D2590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2590
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2590#FFFFFF#000000##FFFFFF
##2D25901.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2590;
/* rgb */ color: rgb(45, 37, 144);
/* oklch */ color: oklch(35.5% 0.167 276.9);
Tailwind
colors: {
  custom: {
    50: '#7561b2',
    500: '#2d2590',
    950: '#000000',
  },
}
SCSS
$custom: #2d2590;
$custom-light: #7561b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2590",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 144
  },
  "hsl": {
    "h": 244.486,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35522,
    "c": 0.16737,
    "h": 276.9
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#2D2590
secondary
#B2B957
accent
#E245D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #2D2590

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

Preview Lab → · Contrast checker → · Palette generator →

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