#2D3493#2D3493

#2D3493 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.154 H 273.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#2D3493
RGBrgb(45, 52, 147)
HSLhsl(236, 53%, 38%)
HSVhsv(236, 69%, 58%)
CMYKcmyk(69.4%, 64.6%, 0%, 42.4%)
CIE-LABlab(27.07, 29.51, -53.20)
CIE-LCHlch(27.07, 60.84, 299.02°)
OKLaboklab(38.32% 0.0091 -0.1535)
OKLCHoklch(38.32% 0.154 273.4)
XYZxyz(7.5749, 5.1198, 28.1871)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3493 #938C2D
analogous
#2D6793 #2D3493 #592D93
triadic
#2D3493 #932D34 #34932D
tetradic
#2D3493 #932D67 #938C2D #2D9359
square
#2D3493 #932D67 #938C2D #2D9359
split-complementary
#2D3493 #93592D #67932D
monochromatic
#101335 #1F2364 #2D3493 #3B45C2 #6970D1

Accessibility & contrast

On white

10.38
#2D3493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2D3493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3493
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3493#FFFFFF#000000##FFFFFF
##2D34931.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004596
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3493;
/* rgb */ color: rgb(45, 52, 147);
/* oklch */ color: oklch(38.3% 0.154 273.4);
Tailwind
colors: {
  custom: {
    50: '#746bb4',
    500: '#2d3493',
    950: '#000000',
  },
}
SCSS
$custom: #2d3493;
$custom-light: #746bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3493",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 147
  },
  "hsl": {
    "h": 235.882,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38323,
    "c": 0.15379,
    "h": 273.4
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#2D3493
secondary
#B8B264
accent
#D34BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3493

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

Preview Lab → · Contrast checker → · Palette generator →

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