#3B28AF#3B28AF

#3B28AF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.2% C 0.200 H 278.9°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#3B28AF
RGBrgb(59, 40, 175)
HSLhsl(248, 63%, 42%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(66.3%, 77.1%, 0%, 31.4%)
CIE-LABlab(28.23, 47.74, -68.26)
CIE-LCHlch(28.23, 83.30, 304.97°)
OKLaboklab(40.23% 0.0308 -0.1971)
OKLCHoklch(40.23% 0.2 278.9)
XYZxyz(10.2978, 5.5417, 41.0761)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28AF #9CAF28
analogous
#2859AF #3B28AF #7E28AF
triadic
#3B28AF #AF3B28 #28AF3B
tetradic
#3B28AF #AF2859 #9CAF28 #28AF7E
square
#3B28AF #AF2859 #9CAF28 #28AF7E
split-complementary
#3B28AF #AF7E28 #59AF28
monochromatic
#19114B #2A1D7D #3B28AF #5541D4 #8273DF

Accessibility & contrast

On white

9.96
#3B28AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3B28AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28AF
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28AF#FFFFFF#000000##FFFFFF
##3B28AF1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b28af;
/* rgb */ color: rgb(59, 40, 175);
/* oklch */ color: oklch(40.2% 0.200 278.9);
Tailwind
colors: {
  custom: {
    50: '#8165c8',
    500: '#3b28af',
    950: '#000000',
  },
}
SCSS
$custom: #3b28af;
$custom-light: #8165c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28af",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 248.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4023,
    "c": 0.19952,
    "h": 278.9
  },
  "luminance": 0.05543
}

Semantic roles & 50–950 ramp

primary
#3B28AF
secondary
#B9C66D
accent
#E642CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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