#2D2D9E#2D2D9E

#2D2D9E is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.177 H 274.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2D2D9E
RGBrgb(45, 45, 158)
HSLhsl(240, 56%, 40%)
HSVhsv(240, 72%, 62%)
CMYKcmyk(71.5%, 71.5%, 0%, 38%)
CIE-LABlab(26.46, 37.85, -60.95)
CIE-LCHlch(26.46, 71.74, 301.84°)
OKLaboklab(38.19% 0.0128 -0.1762)
OKLCHoklch(38.19% 0.177 274.1)
XYZxyz(8.1901, 4.9025, 32.8558)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D9E #9E9E2D
analogous
#2D669E #2D2D9E #662D9E
triadic
#2D2D9E #9E2D2D #2D9E2D
tetradic
#2D2D9E #9E2D66 #9E9E2D #2D9E66
square
#2D2D9E #9E2D66 #9E9E2D #2D9E66
split-complementary
#2D2D9E #9E662D #669E2D
monochromatic
#12123F #1F1F6E #2D2D9E #4040C9 #6F6FD6

Accessibility & contrast

On white

10.60
#2D2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2D2D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D9E
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D9E#FFFFFF#000000##FFFFFF
##2D2D9E1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d2d9e;
/* rgb */ color: rgb(45, 45, 158);
/* oklch */ color: oklch(38.2% 0.177 274.1);
Tailwind
colors: {
  custom: {
    50: '#7767bc',
    500: '#2d2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d9e;
$custom-light: #7767bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d9e",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 240,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38189,
    "c": 0.17666,
    "h": 274.1
  },
  "luminance": 0.04903
}

Semantic roles & 50–950 ramp

primary
#2D2D9E
secondary
#BDBD69
accent
#DF49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2D2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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