#2D2362#2D2362

#2D2362 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.8% C 0.107 H 285.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#2D2362
RGBrgb(45, 35, 98)
HSLhsl(250, 47%, 26%)
HSVhsv(250, 64%, 38%)
CMYKcmyk(54.1%, 64.3%, 0%, 61.6%)
CIE-LABlab(18.55, 23.36, -35.95)
CIE-LCHlch(18.55, 42.87, 303.02°)
OKLaboklab(30.76% 0.0286 -0.1029)
OKLCHoklch(30.76% 0.107 285.5)
XYZxyz(3.8872, 2.6416, 11.8580)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2362 #586223
analogous
#233862 #2D2362 #4C2362
triadic
#2D2362 #622D23 #23622D
tetradic
#2D2362 #622338 #586223 #23624C
square
#2D2362 #622338 #586223 #23624C
split-complementary
#2D2362 #624C23 #386223
monochromatic
#0A0817 #181335 #2D2362 #42338F #5743BC

Accessibility & contrast

On white

13.74
#2D2362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2D2362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2362
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2362#FFFFFF#000000##FFFFFF
##2D23621.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F64
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#19323E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2d2362;
/* rgb */ color: rgb(45, 35, 98);
/* oklch */ color: oklch(30.8% 0.107 285.5);
Tailwind
colors: {
  custom: {
    50: '#6b5e8f',
    500: '#2d2362',
    950: '#000000',
  },
}
SCSS
$custom: #2d2362;
$custom-light: #6b5e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2362",
  "rgb": {
    "r": 45,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 249.524,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30758,
    "c": 0.10682,
    "h": 285.5
  },
  "luminance": 0.02642
}

Semantic roles & 50–950 ramp

primary
#2D2362
secondary
#8A964B
accent
#D751C2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #2D2362

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

Preview Lab → · Contrast checker → · Palette generator →

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