#2D2286#2D2286

#2D2286 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.0% C 0.158 H 278.9°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2D2286
RGBrgb(45, 34, 134)
HSLhsl(247, 60%, 33%)
HSVhsv(247, 75%, 53%)
CMYKcmyk(66.4%, 74.6%, 0%, 47.5%)
CIE-LABlab(21.66, 36.26, -54.00)
CIE-LCHlch(21.66, 65.04, 303.88°)
OKLaboklab(34.04% 0.0243 -0.1559)
OKLCHoklch(34.04% 0.158 278.9)
XYZxyz(5.9559, 3.4227, 22.8964)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2286 #7B8622
analogous
#224986 #2D2286 #5F2286
triadic
#2D2286 #862D22 #22862D
tetradic
#2D2286 #862249 #7B8622 #22865F
square
#2D2286 #862249 #7B8622 #22865F
split-complementary
#2D2286 #865F22 #498622
monochromatic
#0C0924 #1D1655 #2D2286 #3D2EB7 #5E50D3

Accessibility & contrast

On white

12.47
#2D2286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D2286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2286
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2286#FFFFFF#000000##FFFFFF
##2D22861.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d2286;
/* rgb */ color: rgb(45, 34, 134);
/* oklch */ color: oklch(34.0% 0.158 278.9);
Tailwind
colors: {
  custom: {
    50: '#735faa',
    500: '#2d2286',
    950: '#000000',
  },
}
SCSS
$custom: #2d2286;
$custom-light: #735faa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2286",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 246.6,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34036,
    "c": 0.15774,
    "h": 278.9
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#2D2286
secondary
#ABB64E
accent
#E345D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D2286

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

Preview Lab → · Contrast checker → · Palette generator →

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