#2D3594#2D3594

#2D3594 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.6% C 0.154 H 273.1°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#2D3594
RGBrgb(45, 53, 148)
HSLhsl(235, 53%, 38%)
HSVhsv(235, 70%, 58%)
CMYKcmyk(69.6%, 64.2%, 0%, 42%)
CIE-LABlab(27.41, 29.22, -53.26)
CIE-LCHlch(27.41, 60.75, 298.75°)
OKLaboklab(38.6% 0.0082 -0.1537)
OKLCHoklch(38.6% 0.154 273.1)
XYZxyz(7.6988, 5.2415, 28.6172)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3594 #948C2D
analogous
#2D6894 #2D3594 #582D94
triadic
#2D3594 #942D35 #35942D
tetradic
#2D3594 #942D68 #948C2D #2D9458
square
#2D3594 #942D68 #948C2D #2D9458
split-complementary
#2D3594 #94582D #68942D
monochromatic
#101336 #1F2465 #2D3594 #3B46C3 #6A72D2

Accessibility & contrast

On white

10.25
#2D3594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D3594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3594
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3594#FFFFFF#000000##FFFFFF
##2D35941.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3594;
/* rgb */ color: rgb(45, 53, 148);
/* oklch */ color: oklch(38.6% 0.154 273.1);
Tailwind
colors: {
  custom: {
    50: '#746cb4',
    500: '#2d3594',
    950: '#000000',
  },
}
SCSS
$custom: #2d3594;
$custom-light: #746cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3594",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 148
  },
  "hsl": {
    "h": 235.34,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38599,
    "c": 0.15391,
    "h": 273.1
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#2D3594
secondary
#B8B264
accent
#D14BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3594

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

Preview Lab → · Contrast checker → · Palette generator →

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