#3D28AF#3D28AF

#3D28AF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.4% C 0.199 H 279.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#3D28AF
RGBrgb(61, 40, 175)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 77%, 69%)
CMYKcmyk(65.1%, 77.1%, 0%, 31.4%)
CIE-LABlab(28.39, 47.95, -67.98)
CIE-LCHlch(28.39, 83.19, 305.20°)
OKLaboklab(40.39% 0.0336 -0.1963)
OKLCHoklch(40.39% 0.199 279.7)
XYZxyz(10.4187, 5.6040, 41.0818)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28AF #9AAF28
analogous
#2857AF #3D28AF #8028AF
triadic
#3D28AF #AF3D28 #28AF3D
tetradic
#3D28AF #AF2857 #9AAF28 #28AF80
square
#3D28AF #AF2857 #9AAF28 #28AF80
split-complementary
#3D28AF #AF8028 #57AF28
monochromatic
#1A114B #2C1D7D #3D28AF #5841D4 #8373DF

Accessibility & contrast

On white

9.90
#3D28AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3D28AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28AF
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28AF#FFFFFF#000000##FFFFFF
##3D28AF1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003EAD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d28af;
/* rgb */ color: rgb(61, 40, 175);
/* oklch */ color: oklch(40.4% 0.199 279.7);
Tailwind
colors: {
  custom: {
    50: '#8265c8',
    500: '#3d28af',
    950: '#000000',
  },
}
SCSS
$custom: #3d28af;
$custom-light: #8265c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28af",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 249.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40388,
    "c": 0.19913,
    "h": 279.7
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#3D28AF
secondary
#B8C66D
accent
#E642CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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