#2D2E91#2D2E91

#2D2E91 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.158 H 275.0°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2D2E91
RGBrgb(45, 46, 145)
HSLhsl(239, 53%, 37%)
HSVhsv(239, 69%, 57%)
CMYKcmyk(69%, 68.3%, 0%, 43.1%)
CIE-LABlab(25.43, 32.68, -54.66)
CIE-LCHlch(25.43, 63.68, 300.87°)
OKLaboklab(37.07% 0.0138 -0.1578)
OKLCHoklch(37.07% 0.158 275)
XYZxyz(7.1683, 4.5556, 27.2841)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E91 #91902D
analogous
#2D6091 #2D2E91 #5E2D91
triadic
#2D2E91 #912D2E #2E912D
tetradic
#2D2E91 #912D60 #91902D #2D915E
square
#2D2E91 #912D60 #91902D #2D915E
split-complementary
#2D2E91 #915E2D #60912D
monochromatic
#101034 #1F1F62 #2D2E91 #3B3DC0 #6869D0

Accessibility & contrast

On white

10.99
#2D2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E91
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E91#FFFFFF#000000##FFFFFF
##2D2E911.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d2e91;
/* rgb */ color: rgb(45, 46, 145);
/* oklch */ color: oklch(37.1% 0.158 275.0);
Tailwind
colors: {
  custom: {
    50: '#7467b2',
    500: '#2d2e91',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e91;
$custom-light: #7467b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e91",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 239.4,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37068,
    "c": 0.15842,
    "h": 275
  },
  "luminance": 0.04556
}

Semantic roles & 50–950 ramp

primary
#2D2E91
secondary
#B7B663
accent
#DB4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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