#2D3393#2D3393

#2D3393 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.155 H 273.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2D3393
RGBrgb(45, 51, 147)
HSLhsl(236, 53%, 38%)
HSVhsv(236, 69%, 58%)
CMYKcmyk(69.4%, 65.3%, 0%, 42.4%)
CIE-LABlab(26.82, 30.16, -53.61)
CIE-LCHlch(26.82, 61.51, 299.37°)
OKLaboklab(38.14% 0.0098 -0.1547)
OKLCHoklch(38.14% 0.155 273.6)
XYZxyz(7.5307, 5.0314, 28.1724)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3393 #938D2D
analogous
#2D6693 #2D3393 #5A2D93
triadic
#2D3393 #932D33 #33932D
tetradic
#2D3393 #932D66 #938D2D #2D935A
square
#2D3393 #932D66 #938D2D #2D935A
split-complementary
#2D3393 #935A2D #66932D
monochromatic
#101235 #1F2364 #2D3393 #3B43C2 #696FD1

Accessibility & contrast

On white

10.47
#2D3393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D3393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3393
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3393#FFFFFF#000000##FFFFFF
##2D33931.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003B91
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d3393;
/* rgb */ color: rgb(45, 51, 147);
/* oklch */ color: oklch(38.1% 0.155 273.6);
Tailwind
colors: {
  custom: {
    50: '#746bb4',
    500: '#2d3393',
    950: '#000000',
  },
}
SCSS
$custom: #2d3393;
$custom-light: #746bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3393",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 236.471,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3814,
    "c": 0.15503,
    "h": 273.6
  },
  "luminance": 0.05032
}

Semantic roles & 50–950 ramp

primary
#2D3393
secondary
#B8B364
accent
#D44BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3393

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

Preview Lab → · Contrast checker → · Palette generator →

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