#2D3AB6#2D3AB6

#2D3AB6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.193 H 270.7°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2D3AB6
RGBrgb(45, 58, 182)
HSLhsl(234, 60%, 45%)
HSVhsv(234, 75%, 71%)
CMYKcmyk(75.3%, 68.1%, 0%, 28.6%)
CIE-LABlab(31.72, 38.25, -66.72)
CIE-LCHlch(31.72, 76.90, 299.83°)
OKLaboklab(42.69% 0.0023 -0.193)
OKLCHoklch(42.69% 0.193 270.7)
XYZxyz(11.0359, 6.9602, 45.0087)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AB6 #B6A92D
analogous
#2D7EB6 #2D3AB6 #652DB6
triadic
#2D3AB6 #B62D3A #3AB62D
tetradic
#2D3AB6 #B62D7E #B6A92D #2DB665
square
#2D3AB6 #B62D7E #B6A92D #2DB665
split-complementary
#2D3AB6 #B6652D #7EB62D
monochromatic
#151B54 #212A85 #2D3AB6 #4D5AD3 #7E87DF

Accessibility & contrast

On white

8.78
#2D3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2D3AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3AB6
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AB6#FFFFFF#000000##FFFFFF
##2D3AB61.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2d3ab6;
/* rgb */ color: rgb(45, 58, 182);
/* oklch */ color: oklch(42.7% 0.193 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b70cd',
    500: '#2d3ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ab6;
$custom-light: #7b70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ab6",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 234.307,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42691,
    "c": 0.19305,
    "h": 270.7
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#2D3AB6
secondary
#C8C077
accent
#D444E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2D3AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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