#2D3082#2D3082

#2D3082 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.135 H 275.7°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#2D3082
RGBrgb(45, 48, 130)
HSLhsl(238, 49%, 34%)
HSVhsv(238, 65%, 51%)
CMYKcmyk(65.4%, 63.1%, 0%, 49%)
CIE-LABlab(24.59, 25.98, -46.70)
CIE-LCHlch(24.59, 53.44, 299.09°)
OKLaboklab(36.04% 0.0134 -0.1345)
OKLCHoklch(36.04% 0.135 275.7)
XYZxyz(6.1671, 4.2830, 21.6165)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3082 #827F2D
analogous
#2D5B82 #2D3082 #552D82
triadic
#2D3082 #822D30 #30822D
tetradic
#2D3082 #822D5B #827F2D #2D8255
square
#2D3082 #822D5B #827F2D #2D8255
split-complementary
#2D3082 #82552D #5B822D
monochromatic
#0E0E27 #1D1F55 #2D3082 #3D41AF #6165C8

Accessibility & contrast

On white

11.31
#2D3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2D3082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3082
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3082#FFFFFF#000000##FFFFFF
##2D30821.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2d3082;
/* rgb */ color: rgb(45, 48, 130);
/* oklch */ color: oklch(36.0% 0.135 275.7);
Tailwind
colors: {
  custom: {
    50: '#7068a7',
    500: '#2d3082',
    950: '#000000',
  },
}
SCSS
$custom: #2d3082;
$custom-light: #7068a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3082",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 237.882,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36037,
    "c": 0.13512,
    "h": 275.7
  },
  "luminance": 0.04283
}

Semantic roles & 50–950 ramp

primary
#2D3082
secondary
#AFAC5C
accent
#D350D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D3082

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

Preview Lab → · Contrast checker → · Palette generator →

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