#2D3182#2D3182

#2D3182 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.134 H 275.3°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2D3182
RGBrgb(45, 49, 130)
HSLhsl(237, 49%, 34%)
HSVhsv(237, 65%, 51%)
CMYKcmyk(65.4%, 62.3%, 0%, 49%)
CIE-LABlab(24.85, 25.31, -46.28)
CIE-LCHlch(24.85, 52.74, 298.67°)
OKLaboklab(36.23% 0.0124 -0.1332)
OKLCHoklch(36.23% 0.134 275.3)
XYZxyz(6.2084, 4.3657, 21.6303)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3182 #827E2D
analogous
#2D5C82 #2D3182 #542D82
triadic
#2D3182 #822D31 #31822D
tetradic
#2D3182 #822D5C #827E2D #2D8254
square
#2D3182 #822D5C #827E2D #2D8254
split-complementary
#2D3182 #82542D #5C822D
monochromatic
#0E0F27 #1D2055 #2D3182 #3D42AF #6166C8

Accessibility & contrast

On white

11.21
#2D3182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D3182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3182
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3182#FFFFFF#000000##FFFFFF
##2D31821.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3182;
/* rgb */ color: rgb(45, 49, 130);
/* oklch */ color: oklch(36.2% 0.134 275.3);
Tailwind
colors: {
  custom: {
    50: '#7069a7',
    500: '#2d3182',
    950: '#000000',
  },
}
SCSS
$custom: #2d3182;
$custom-light: #7069a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3182",
  "rgb": {
    "r": 45,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 237.176,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36229,
    "c": 0.13379,
    "h": 275.3
  },
  "luminance": 0.04366
}

Semantic roles & 50–950 ramp

primary
#2D3182
secondary
#AFAB5C
accent
#D250D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D3182

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

Preview Lab → · Contrast checker → · Palette generator →

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