#2D2E95#2D2E95

#2D2E95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.164 H 274.7°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#2D2E95
RGBrgb(45, 46, 149)
HSLhsl(239, 54%, 38%)
HSVhsv(239, 70%, 58%)
CMYKcmyk(69.8%, 69.1%, 0%, 41.6%)
CIE-LABlab(25.81, 34.09, -56.51)
CIE-LCHlch(25.81, 65.99, 301.10°)
OKLaboklab(37.46% 0.0134 -0.1632)
OKLCHoklch(37.46% 0.164 274.7)
XYZxyz(7.4822, 4.6811, 28.9372)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D2E95 #95942D
analogous
#2D6295 #2D2E95 #602D95
triadic
#2D2E95 #952D2E #2E952D
tetradic
#2D2E95 #952D62 #95942D #2D9560
square
#2D2E95 #952D62 #95942D #2D9560
split-complementary
#2D2E95 #95602D #62952D
monochromatic
#111137 #1F1F66 #2D2E95 #3B3DC4 #6A6BD2

Accessibility & contrast

On white

10.84
#2D2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2D2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D2E95
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D2E95#FFFFFF#000000##FFFFFF
##2D2E951.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2d2e95;
/* rgb */ color: rgb(45, 46, 149);
/* oklch */ color: oklch(37.5% 0.164 274.7);
Tailwind
colors: {
  custom: {
    50: '#7567b5',
    500: '#2d2e95',
    950: '#000000',
  },
}
SCSS
$custom: #2d2e95;
$custom-light: #7567b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d2e95",
  "rgb": {
    "r": 45,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 239.423,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37456,
    "c": 0.16377,
    "h": 274.7
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#2D2E95
secondary
#B9B865
accent
#DC4BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2D2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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