#2D3695#2D3695

#2D3695 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.154 H 272.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2D3695
RGBrgb(45, 54, 149)
HSLhsl(235, 54%, 38%)
HSVhsv(235, 70%, 58%)
CMYKcmyk(69.8%, 63.8%, 0%, 41.6%)
CIE-LABlab(27.75, 28.92, -53.32)
CIE-LCHlch(27.75, 60.66, 298.48°)
OKLaboklab(38.88% 0.0074 -0.1538)
OKLCHoklch(38.88% 0.154 272.7)
XYZxyz(7.8244, 5.3654, 29.0512)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3695 #958C2D
analogous
#2D6A95 #2D3695 #582D95
triadic
#2D3695 #952D36 #36952D
tetradic
#2D3695 #952D6A #958C2D #2D9558
square
#2D3695 #952D6A #958C2D #2D9558
split-complementary
#2D3695 #95582D #6A952D
monochromatic
#111437 #1F2566 #2D3695 #3B47C4 #6A73D2

Accessibility & contrast

On white

10.13
#2D3695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D3695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3695
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3695#FFFFFF#000000##FFFFFF
##2D36951.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3695;
/* rgb */ color: rgb(45, 54, 149);
/* oklch */ color: oklch(38.9% 0.154 272.7);
Tailwind
colors: {
  custom: {
    50: '#746db5',
    500: '#2d3695',
    950: '#000000',
  },
}
SCSS
$custom: #2d3695;
$custom-light: #746db5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3695",
  "rgb": {
    "r": 45,
    "g": 54,
    "b": 149
  },
  "hsl": {
    "h": 234.808,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38875,
    "c": 0.15403,
    "h": 272.7
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3695

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

Preview Lab → · Contrast checker → · Palette generator →

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