#2D3481#2D3481

#2D3481 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.128 H 274.3°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2D3481
RGBrgb(45, 52, 129)
HSLhsl(235, 48%, 34%)
HSVhsv(235, 65%, 51%)
CMYKcmyk(65.1%, 59.7%, 0%, 49.4%)
CIE-LABlab(25.56, 22.91, -44.49)
CIE-LCHlch(25.56, 50.04, 297.25°)
OKLaboklab(36.73% 0.0096 -0.1279)
OKLCHoklch(36.73% 0.128 274.3)
XYZxyz(6.2713, 4.5983, 21.3217)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3481 #817A2D
analogous
#2D5E81 #2D3481 #502D81
triadic
#2D3481 #812D34 #34812D
tetradic
#2D3481 #812D5E #817A2D #2D8150
square
#2D3481 #812D5E #817A2D #2D8150
split-complementary
#2D3481 #81502D #5E812D
monochromatic
#0D0F26 #1D2254 #2D3481 #3D46AE #6169C8

Accessibility & contrast

On white

10.94
#2D3481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2D3481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3481
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3481#FFFFFF#000000##FFFFFF
##2D34811.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d3481;
/* rgb */ color: rgb(45, 52, 129);
/* oklch */ color: oklch(36.7% 0.128 274.3);
Tailwind
colors: {
  custom: {
    50: '#706ba6',
    500: '#2d3481',
    950: '#000000',
  },
}
SCSS
$custom: #2d3481;
$custom-light: #706ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3481",
  "rgb": {
    "r": 45,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 235,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.12828,
    "h": 274.3
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#2D3481
secondary
#AEA75C
accent
#CD50D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D3481

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

Preview Lab → · Contrast checker → · Palette generator →

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