#2D3AB3#2D3AB3

#2D3AB3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.189 H 270.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2D3AB3
RGBrgb(45, 58, 179)
HSLhsl(234, 60%, 44%)
HSVhsv(234, 75%, 70%)
CMYKcmyk(74.9%, 67.6%, 0%, 29.8%)
CIE-LABlab(31.43, 37.19, -65.40)
CIE-LCHlch(31.43, 75.23, 299.62°)
OKLaboklab(42.4% 0.0025 -0.1892)
OKLCHoklch(42.4% 0.189 270.8)
XYZxyz(10.7292, 6.8375, 43.3934)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AB3 #B3A62D
analogous
#2D7DB3 #2D3AB3 #632DB3
triadic
#2D3AB3 #B32D3A #3AB32D
tetradic
#2D3AB3 #B32D7D #B3A62D #2DB363
square
#2D3AB3 #B32D7D #B3A62D #2DB363
split-complementary
#2D3AB3 #B3632D #7DB32D
monochromatic
#141A51 #212A82 #2D3AB3 #4B58D2 #7C86DE

Accessibility & contrast

On white

8.87
#2D3AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2D3AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3AB3
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AB3#FFFFFF#000000##FFFFFF
##2D3AB31.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d3ab3;
/* rgb */ color: rgb(45, 58, 179);
/* oklch */ color: oklch(42.4% 0.189 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b70cb',
    500: '#2d3ab3',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ab3;
$custom-light: #7b70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ab3",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 179
  },
  "hsl": {
    "h": 234.179,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.424,
    "c": 0.18921,
    "h": 270.8
  },
  "luminance": 0.06839
}

Semantic roles & 50–950 ramp

primary
#2D3AB3
secondary
#C7BF75
accent
#D445E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2D3AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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