#2D3AB4#2D3AB4

#2D3AB4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.191 H 270.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2D3AB4
RGBrgb(45, 58, 180)
HSLhsl(234, 60%, 44%)
HSVhsv(234, 75%, 71%)
CMYKcmyk(75%, 67.8%, 0%, 29.4%)
CIE-LABlab(31.53, 37.54, -65.84)
CIE-LCHlch(31.53, 75.79, 299.69°)
OKLaboklab(42.5% 0.0025 -0.1905)
OKLCHoklch(42.5% 0.191 270.7)
XYZxyz(10.8307, 6.8781, 43.9280)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AB4 #B4A72D
analogous
#2D7EB4 #2D3AB4 #642DB4
triadic
#2D3AB4 #B42D3A #3AB42D
tetradic
#2D3AB4 #B42D7E #B4A72D #2DB464
square
#2D3AB4 #B42D7E #B4A72D #2DB464
split-complementary
#2D3AB4 #B4642D #7EB42D
monochromatic
#151A52 #212A83 #2D3AB4 #4C59D2 #7D86DE

Accessibility & contrast

On white

8.84
#2D3AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2D3AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3AB4
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AB4#FFFFFF#000000##FFFFFF
##2D3AB41.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2d3ab4;
/* rgb */ color: rgb(45, 58, 180);
/* oklch */ color: oklch(42.5% 0.191 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b70cc',
    500: '#2d3ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ab4;
$custom-light: #7b70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ab4",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 180
  },
  "hsl": {
    "h": 234.222,
    "s": 60,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42497,
    "c": 0.1905,
    "h": 270.7
  },
  "luminance": 0.06879
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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