#2D2E83#2D2E83

#2D2E83 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.139 H 276.2°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#2D2E83
RGBrgb(45, 46, 131)
HSLhsl(239, 49%, 35%)
HSVhsv(239, 66%, 51%)
CMYKcmyk(65.6%, 64.9%, 0%, 48.6%)
CIE-LABlab(24.16, 27.67, -48.02)
CIE-LCHlch(24.16, 55.42, 299.95°)
OKLaboklab(35.75% 0.0151 -0.1383)
OKLCHoklch(35.75% 0.139 276.2)
XYZxyz(6.1546, 4.1501, 21.9450)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E83 #83822D
analogous
#2D5983 #2D2E83 #572D83
triadic
#2D2E83 #832D2E #2E832D
tetradic
#2D2E83 #832D59 #83822D #2D8357
square
#2D2E83 #832D59 #83822D #2D8357
split-complementary
#2D2E83 #83572D #59832D
monochromatic
#0E0E28 #1D1E55 #2D2E83 #3D3EB1 #6263C9

Accessibility & contrast

On white

11.47
#2D2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E83
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E83#FFFFFF#000000##FFFFFF
##2D2E831.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d2e83;
/* rgb */ color: rgb(45, 46, 131);
/* oklch */ color: oklch(35.8% 0.139 276.2);
Tailwind
colors: {
  custom: {
    50: '#7167a8',
    500: '#2d2e83',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e83;
$custom-light: #7167a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e83",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 239.302,
    "s": 48.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35753,
    "c": 0.13917,
    "h": 276.2
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#2D2E83
secondary
#AFAE5C
accent
#D74FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2D2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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