#2D2594#2D2594

#2D2594 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.172 H 276.5°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2D2594
RGBrgb(45, 37, 148)
HSLhsl(244, 60%, 36%)
HSVhsv(244, 75%, 58%)
CMYKcmyk(69.6%, 75%, 0%, 42%)
CIE-LABlab(23.73, 39.19, -59.30)
CIE-LCHlch(23.73, 71.08, 303.46°)
OKLaboklab(35.94% 0.0194 -0.1714)
OKLCHoklch(35.94% 0.172 276.5)
XYZxyz(7.0873, 4.0185, 28.4134)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2594 #8C9425
analogous
#255594 #2D2594 #652594
triadic
#2D2594 #942D25 #25942D
tetradic
#2D2594 #942555 #8C9425 #259465
square
#2D2594 #942555 #8C9425 #259465
split-complementary
#2D2594 #946525 #559425
monochromatic
#0F0D32 #1E1963 #2D2594 #3C31C5 #665DD6

Accessibility & contrast

On white

11.64
#2D2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D2594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2594
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2594#FFFFFF#000000##FFFFFF
##2D25941.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d2594;
/* rgb */ color: rgb(45, 37, 148);
/* oklch */ color: oklch(35.9% 0.172 276.5);
Tailwind
colors: {
  custom: {
    50: '#7561b5',
    500: '#2d2594',
    950: '#000000',
  },
}
SCSS
$custom: #2d2594;
$custom-light: #7561b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2594",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 244.324,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35941,
    "c": 0.17246,
    "h": 276.5
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#2D2594
secondary
#B4BB59
accent
#E345D8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2D2594

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

Preview Lab → · Contrast checker → · Palette generator →

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