#2D2D92#2D2D92

#2D2D92 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.161 H 275.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2D2D92
RGBrgb(45, 45, 146)
HSLhsl(240, 53%, 37%)
HSVhsv(240, 69%, 57%)
CMYKcmyk(69.2%, 69.2%, 0%, 42.7%)
CIE-LABlab(25.29, 33.66, -55.51)
CIE-LCHlch(25.29, 64.92, 301.24°)
OKLaboklab(36.99% 0.0144 -0.1603)
OKLCHoklch(36.99% 0.161 275.1)
XYZxyz(7.2072, 4.5093, 27.6791)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D92 #92922D
analogous
#2D6092 #2D2D92 #602D92
triadic
#2D2D92 #922D2D #2D922D
tetradic
#2D2D92 #922D60 #92922D #2D9260
square
#2D2D92 #922D60 #92922D #2D9260
split-complementary
#2D2D92 #92602D #60922D
monochromatic
#101034 #1F1F63 #2D2D92 #3B3BC1 #6969D1

Accessibility & contrast

On white

11.04
#2D2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2D2D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2D92
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D92#FFFFFF#000000##FFFFFF
##2D2D921.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2d92;
/* rgb */ color: rgb(45, 45, 146);
/* oklch */ color: oklch(37.0% 0.161 275.1);
Tailwind
colors: {
  custom: {
    50: '#7466b3',
    500: '#2d2d92',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d92;
$custom-light: #7466b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d92",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 240,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36995,
    "c": 0.16095,
    "h": 275.1
  },
  "luminance": 0.0451
}

Semantic roles & 50–950 ramp

primary
#2D2D92
secondary
#B7B763
accent
#DC4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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