#2D2E82#2D2E82

#2D2E82 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.138 H 276.3°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#2D2E82
RGBrgb(45, 46, 130)
HSLhsl(239, 49%, 34%)
HSVhsv(239, 65%, 51%)
CMYKcmyk(65.4%, 64.6%, 0%, 49%)
CIE-LABlab(24.07, 27.31, -47.53)
CIE-LCHlch(24.07, 54.82, 299.88°)
OKLaboklab(35.66% 0.0152 -0.1369)
OKLCHoklch(35.66% 0.138 276.3)
XYZxyz(6.0871, 4.1231, 21.5898)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E82 #82812D
analogous
#2D5982 #2D2E82 #572D82
triadic
#2D2E82 #822D2E #2E822D
tetradic
#2D2E82 #822D59 #82812D #2D8257
square
#2D2E82 #822D59 #82812D #2D8257
split-complementary
#2D2E82 #82572D #59822D
monochromatic
#0E0E27 #1D1E55 #2D2E82 #3D3EAF #6162C8

Accessibility & contrast

On white

11.51
#2D2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2D2E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E82
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E82#FFFFFF#000000##FFFFFF
##2D2E821.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2e82;
/* rgb */ color: rgb(45, 46, 130);
/* oklch */ color: oklch(35.7% 0.138 276.3);
Tailwind
colors: {
  custom: {
    50: '#7167a7',
    500: '#2d2e82',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e82;
$custom-light: #7167a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e82",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 239.294,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35662,
    "c": 0.13776,
    "h": 276.3
  },
  "luminance": 0.04124
}

Semantic roles & 50–950 ramp

primary
#2D2E82
secondary
#AFAE5C
accent
#D750D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2D2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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