#2D2283#2D2283

#2D2283 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.154 H 279.3°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#2D2283
RGBrgb(45, 34, 131)
HSLhsl(247, 59%, 32%)
HSVhsv(247, 74%, 51%)
CMYKcmyk(65.6%, 74%, 0%, 48.6%)
CIE-LABlab(21.36, 35.25, -52.61)
CIE-LCHlch(21.36, 63.33, 303.82°)
OKLaboklab(33.73% 0.0249 -0.1518)
OKLCHoklch(33.73% 0.154 279.3)
XYZxyz(5.7496, 3.3402, 21.8101)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2283 #788322
analogous
#224883 #2D2283 #5D2283
triadic
#2D2283 #832D22 #22832D
tetradic
#2D2283 #832248 #788322 #22835D
square
#2D2283 #832248 #788322 #22835D
split-complementary
#2D2283 #835D22 #488322
monochromatic
#0C0922 #1C1552 #2D2283 #3E2FB4 #5D4ED1

Accessibility & contrast

On white

12.59
#2D2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2D2283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2283
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2283#FFFFFF#000000##FFFFFF
##2D22831.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2d2283;
/* rgb */ color: rgb(45, 34, 131);
/* oklch */ color: oklch(33.7% 0.154 279.3);
Tailwind
colors: {
  custom: {
    50: '#725fa8',
    500: '#2d2283',
    950: '#000000',
  },
}
SCSS
$custom: #2d2283;
$custom-light: #725fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2283",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 246.804,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33727,
    "c": 0.15384,
    "h": 279.3
  },
  "luminance": 0.03341
}

Semantic roles & 50–950 ramp

primary
#2D2283
secondary
#A9B44C
accent
#E246D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2D2283

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

Preview Lab → · Contrast checker → · Palette generator →

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