#3D2EA8#3D2EA8

#3D2EA8 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.185 H 279.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#3D2EA8
RGBrgb(61, 46, 168)
HSLhsl(247, 57%, 42%)
HSVhsv(247, 73%, 66%)
CMYKcmyk(63.7%, 72.6%, 0%, 34.1%)
CIE-LABlab(28.83, 42.55, -63.05)
CIE-LCHlch(28.83, 76.07, 304.01°)
OKLaboklab(40.49% 0.0314 -0.1819)
OKLCHoklch(40.49% 0.185 279.8)
XYZxyz(9.9671, 5.7725, 37.6272)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2EA8 #99A82E
analogous
#2E5CA8 #3D2EA8 #7A2EA8
triadic
#3D2EA8 #A83D2E #2EA83D
tetradic
#3D2EA8 #A82E5C #99A82E #2EA87A
square
#3D2EA8 #A82E5C #99A82E #2EA87A
split-complementary
#3D2EA8 #A87A2E #5CA82E
monochromatic
#1A1448 #2C2178 #3D2EA8 #5747CD #8377DA

Accessibility & contrast

On white

9.75
#3D2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D2EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2EA8
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2EA8#FFFFFF#000000##FFFFFF
##3D2EA81.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d2ea8;
/* rgb */ color: rgb(61, 46, 168);
/* oklch */ color: oklch(40.5% 0.185 279.8);
Tailwind
colors: {
  custom: {
    50: '#8069c3',
    500: '#3d2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3d2ea8;
$custom-light: #8069c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2ea8",
  "rgb": {
    "r": 61,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 247.377,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.18461,
    "h": 279.8
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#3D2EA8
secondary
#B8C270
accent
#E048CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3D2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

#3D2EA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva