#2D3595#2D3595

#2D3595 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.155 H 273.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2D3595
RGBrgb(45, 53, 149)
HSLhsl(235, 54%, 38%)
HSVhsv(235, 70%, 58%)
CMYKcmyk(69.8%, 64.4%, 0%, 41.6%)
CIE-LABlab(27.50, 29.58, -53.73)
CIE-LCHlch(27.50, 61.34, 298.83°)
OKLaboklab(38.69% 0.0082 -0.1551)
OKLCHoklch(38.69% 0.155 273)
XYZxyz(7.7783, 5.2733, 29.0359)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3595 #958D2D
analogous
#2D6995 #2D3595 #592D95
triadic
#2D3595 #952D35 #35952D
tetradic
#2D3595 #952D69 #958D2D #2D9559
square
#2D3595 #952D69 #958D2D #2D9559
split-complementary
#2D3595 #95592D #69952D
monochromatic
#111437 #1F2466 #2D3595 #3B46C4 #6A72D2

Accessibility & contrast

On white

10.22
#2D3595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3595
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3595#FFFFFF#000000##FFFFFF
##2D35951.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004698
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d3595;
/* rgb */ color: rgb(45, 53, 149);
/* oklch */ color: oklch(38.7% 0.155 273.0);
Tailwind
colors: {
  custom: {
    50: '#746cb5',
    500: '#2d3595',
    950: '#000000',
  },
}
SCSS
$custom: #2d3595;
$custom-light: #746cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3595",
  "rgb": {
    "r": 45,
    "g": 53,
    "b": 149
  },
  "hsl": {
    "h": 235.385,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3869,
    "c": 0.15528,
    "h": 273
  },
  "luminance": 0.05274
}

Semantic roles & 50–950 ramp

primary
#2D3595
secondary
#B9B265
accent
#D24BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D3595

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

Preview Lab → · Contrast checker → · Palette generator →

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