#2D3084#2D3084

#2D3084 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.138 H 275.5°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2D3084
RGBrgb(45, 48, 132)
HSLhsl(238, 49%, 35%)
HSVhsv(238, 66%, 52%)
CMYKcmyk(65.9%, 63.6%, 0%, 48.2%)
CIE-LABlab(24.76, 26.70, -47.67)
CIE-LCHlch(24.76, 54.64, 299.26°)
OKLaboklab(36.22% 0.0133 -0.1373)
OKLCHoklch(36.22% 0.138 275.5)
XYZxyz(6.3026, 4.3372, 22.3303)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3084 #84812D
analogous
#2D5C84 #2D3084 #562D84
triadic
#2D3084 #842D30 #30842D
tetradic
#2D3084 #842D5C #84812D #2D8456
square
#2D3084 #842D5C #84812D #2D8456
split-complementary
#2D3084 #84562D #5C842D
monochromatic
#0E0F29 #1D1F56 #2D3084 #3D41B2 #6266C9

Accessibility & contrast

On white

11.24
#2D3084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3084
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3084#FFFFFF#000000##FFFFFF
##2D30841.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d3084;
/* rgb */ color: rgb(45, 48, 132);
/* oklch */ color: oklch(36.2% 0.138 275.5);
Tailwind
colors: {
  custom: {
    50: '#7168a9',
    500: '#2d3084',
    950: '#000000',
  },
}
SCSS
$custom: #2d3084;
$custom-light: #7168a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3084",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 132
  },
  "hsl": {
    "h": 237.931,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36216,
    "c": 0.13796,
    "h": 275.5
  },
  "luminance": 0.04338
}

Semantic roles & 50–950 ramp

primary
#2D3084
secondary
#B0AD5D
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D3084

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

Preview Lab → · Contrast checker → · Palette generator →

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