#2D1994#2D1994

#2D1994 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.4% C 0.184 H 278.0°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2D1994
RGBrgb(45, 25, 148)
HSLhsl(250, 71%, 34%)
HSVhsv(250, 83%, 58%)
CMYKcmyk(69.6%, 83.1%, 0%, 42%)
CIE-LABlab(21.55, 45.46, -62.92)
CIE-LCHlch(21.55, 77.62, 305.85°)
OKLaboklab(34.41% 0.0257 -0.1817)
OKLCHoklch(34.41% 0.184 278)
XYZxyz(6.7734, 3.3907, 28.3087)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D1994 #809419
analogous
#194394 #2D1994 #6B1994
triadic
#2D1994 #942D19 #19942D
tetradic
#2D1994 #941943 #809419 #19946B
square
#2D1994 #941943 #809419 #19946B
split-complementary
#2D1994 #946B19 #439419
monochromatic
#0D072B #1D1060 #2D1994 #3D22C8 #6047E0

Accessibility & contrast

On white

12.51
#2D1994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D1994
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D1994#FFFFFF#000000##FFFFFF
##2D19941.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002F92
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d1994;
/* rgb */ color: rgb(45, 25, 148);
/* oklch */ color: oklch(34.4% 0.184 278.0);
Tailwind
colors: {
  custom: {
    50: '#765ab5',
    500: '#2d1994',
    950: '#000000',
  },
}
SCSS
$custom: #2d1994;
$custom-light: #765ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d1994",
  "rgb": {
    "r": 45,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 249.756,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.18355,
    "h": 278
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#2D1994
secondary
#AEC147
accent
#EE3AD1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #2D1994

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

Preview Lab → · Contrast checker → · Palette generator →

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