#2D2294#2D2294

#2D2294 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.5% C 0.175 H 276.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#2D2294
RGBrgb(45, 34, 148)
HSLhsl(246, 63%, 36%)
HSVhsv(246, 77%, 58%)
CMYKcmyk(69.6%, 77%, 0%, 42%)
CIE-LABlab(23.13, 40.88, -60.29)
CIE-LCHlch(23.13, 72.84, 304.14°)
OKLaboklab(35.52% 0.0212 -0.1742)
OKLCHoklch(35.52% 0.176 276.9)
XYZxyz(6.9978, 3.8394, 28.3835)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2294 #899422
analogous
#225094 #2D2294 #662294
triadic
#2D2294 #942D22 #22942D
tetradic
#2D2294 #942250 #899422 #229466
square
#2D2294 #942250 #899422 #229466
split-complementary
#2D2294 #946622 #509422
monochromatic
#0F0B30 #1E1762 #2D2294 #3C2DC6 #6458D9

Accessibility & contrast

On white

11.88
#2D2294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2D2294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2294
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2294#FFFFFF#000000##FFFFFF
##2D22941.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d2294;
/* rgb */ color: rgb(45, 34, 148);
/* oklch */ color: oklch(35.5% 0.175 276.9);
Tailwind
colors: {
  custom: {
    50: '#765fb5',
    500: '#2d2294',
    950: '#000000',
  },
}
SCSS
$custom: #2d2294;
$custom-light: #765fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2294",
  "rgb": {
    "r": 45,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 245.789,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35517,
    "c": 0.1755,
    "h": 276.9
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#2D2294
secondary
#B3BD55
accent
#E642D6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2D2294

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

Preview Lab → · Contrast checker → · Palette generator →

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