#2D2D91#2D2D91

#2D2D91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.160 H 275.2°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2D2D91
RGBrgb(45, 45, 145)
HSLhsl(240, 53%, 37%)
HSVhsv(240, 69%, 57%)
CMYKcmyk(69%, 69%, 0%, 43.1%)
CIE-LABlab(25.19, 33.31, -55.05)
CIE-LCHlch(25.19, 64.34, 301.18°)
OKLaboklab(36.9% 0.0146 -0.1589)
OKLCHoklch(36.9% 0.16 275.2)
XYZxyz(7.1297, 4.4784, 27.2712)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2D91 #91912D
analogous
#2D5F91 #2D2D91 #5F2D91
triadic
#2D2D91 #912D2D #2D912D
tetradic
#2D2D91 #912D5F #91912D #2D915F
square
#2D2D91 #912D5F #91912D #2D915F
split-complementary
#2D2D91 #915F2D #5F912D
monochromatic
#101034 #1F1F62 #2D2D91 #3B3BC0 #6868D0

Accessibility & contrast

On white

11.08
#2D2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D2D91
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2D91#FFFFFF#000000##FFFFFF
##2D2D911.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d2d91;
/* rgb */ color: rgb(45, 45, 145);
/* oklch */ color: oklch(36.9% 0.160 275.2);
Tailwind
colors: {
  custom: {
    50: '#7466b2',
    500: '#2d2d91',
    950: '#000000',
  },
}
SCSS
$custom: #2d2d91;
$custom-light: #7466b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2d91",
  "rgb": {
    "r": 45,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 240,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36897,
    "c": 0.15962,
    "h": 275.2
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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