#2D3593#2D3593

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

Color values

HEX#2D3593
RGBrgb(45, 53, 147)
HSLhsl(235, 53%, 38%)
HSVhsv(235, 69%, 58%)
CMYKcmyk(69.4%, 63.9%, 0%, 42.4%)
CIE-LABlab(27.32, 28.85, -52.79)
CIE-LCHlch(27.32, 60.16, 298.66°)
OKLaboklab(38.51% 0.0083 -0.1523)
OKLCHoklch(38.51% 0.153 273.1)
XYZxyz(7.6200, 5.2100, 28.2022)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3593 #938B2D
analogous
#2D6893 #2D3593 #582D93
triadic
#2D3593 #932D35 #35932D
tetradic
#2D3593 #932D68 #938B2D #2D9358
square
#2D3593 #932D68 #938B2D #2D9358
split-complementary
#2D3593 #93582D #68932D
monochromatic
#101335 #1F2464 #2D3593 #3B46C2 #6971D1

Accessibility & contrast

On white

10.28
#2D3593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D3593 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3593
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3593#FFFFFF#000000##FFFFFF
##2D35931.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3593;
/* rgb */ color: rgb(45, 53, 147);
/* oklch */ color: oklch(38.5% 0.153 273.1);
Tailwind
colors: {
  custom: {
    50: '#746cb4',
    500: '#2d3593',
    950: '#000000',
  },
}
SCSS
$custom: #2d3593;
$custom-light: #746cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3593",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 147
  },
  "hsl": {
    "h": 235.294,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.15252,
    "h": 273.1
  },
  "luminance": 0.05211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3593

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

Preview Lab → · Contrast checker → · Palette generator →

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