#2D3AB5#2D3AB5

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

Color values

HEX#2D3AB5
RGBrgb(45, 58, 181)
HSLhsl(234, 60%, 44%)
HSVhsv(234, 75%, 71%)
CMYKcmyk(75.1%, 68%, 0%, 29%)
CIE-LABlab(31.62, 37.90, -66.28)
CIE-LCHlch(31.62, 76.35, 299.76°)
OKLaboklab(42.59% 0.0024 -0.1918)
OKLCHoklch(42.59% 0.192 270.7)
XYZxyz(10.9329, 6.9190, 44.4664)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3AB5 #B5A82D
analogous
#2D7EB5 #2D3AB5 #642DB5
triadic
#2D3AB5 #B52D3A #3AB52D
tetradic
#2D3AB5 #B52D7E #B5A82D #2DB564
square
#2D3AB5 #B52D7E #B5A82D #2DB564
split-complementary
#2D3AB5 #B5642D #7EB52D
monochromatic
#151B53 #212A84 #2D3AB5 #4D59D3 #7E87DF

Accessibility & contrast

On white

8.81
#2D3AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3AB5
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3AB5#FFFFFF#000000##FFFFFF
##2D3AB51.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3ab5;
/* rgb */ color: rgb(45, 58, 181);
/* oklch */ color: oklch(42.6% 0.192 270.7);
Tailwind
colors: {
  custom: {
    50: '#7b70cc',
    500: '#2d3ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2d3ab5;
$custom-light: #7b70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3ab5",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 181
  },
  "hsl": {
    "h": 234.265,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42593,
    "c": 0.19177,
    "h": 270.7
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D3AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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