#2D3495#2D3495

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

Color values

HEX#2D3495
RGBrgb(45, 52, 149)
HSLhsl(236, 54%, 38%)
HSVhsv(236, 70%, 58%)
CMYKcmyk(69.8%, 65.1%, 0%, 41.6%)
CIE-LABlab(27.25, 30.24, -54.14)
CIE-LCHlch(27.25, 62.01, 299.18°)
OKLaboklab(38.51% 0.0089 -0.1563)
OKLCHoklch(38.51% 0.157 273.3)
XYZxyz(7.7332, 5.1831, 29.0208)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3495 #958E2D
analogous
#2D6895 #2D3495 #5A2D95
triadic
#2D3495 #952D34 #34952D
tetradic
#2D3495 #952D68 #958E2D #2D955A
square
#2D3495 #952D68 #958E2D #2D955A
split-complementary
#2D3495 #955A2D #68952D
monochromatic
#111337 #1F2466 #2D3495 #3B44C4 #6A71D2

Accessibility & contrast

On white

10.31
#2D3495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3495
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3495#FFFFFF#000000##FFFFFF
##2D34951.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d3495;
/* rgb */ color: rgb(45, 52, 149);
/* oklch */ color: oklch(38.5% 0.157 273.3);
Tailwind
colors: {
  custom: {
    50: '#746bb5',
    500: '#2d3495',
    950: '#000000',
  },
}
SCSS
$custom: #2d3495;
$custom-light: #746bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3495",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 235.962,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38507,
    "c": 0.15652,
    "h": 273.3
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#2D3495
secondary
#B9B365
accent
#D34BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D3495

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

Preview Lab → · Contrast checker → · Palette generator →

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