#3B28B0#3B28B0

#3B28B0 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.3% C 0.201 H 278.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3B28B0
RGBrgb(59, 40, 176)
HSLhsl(248, 63%, 42%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(66.5%, 77.3%, 0%, 31%)
CIE-LABlab(28.33, 48.04, -68.69)
CIE-LCHlch(28.33, 83.82, 304.97°)
OKLaboklab(40.34% 0.0305 -0.1984)
OKLCHoklch(40.34% 0.201 278.7)
XYZxyz(10.3964, 5.5811, 41.5953)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28B0 #9DB028
analogous
#2859B0 #3B28B0 #7F28B0
triadic
#3B28B0 #B03B28 #28B03B
tetradic
#3B28B0 #B02859 #9DB028 #28B07F
square
#3B28B0 #B02859 #9DB028 #28B07F
split-complementary
#3B28B0 #B07F28 #59B028
monochromatic
#1A114C #2A1D7E #3B28B0 #5641D4 #8273DF

Accessibility & contrast

On white

9.92
#3B28B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B28B0
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28B0#FFFFFF#000000##FFFFFF
##3B28B01.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b28b0;
/* rgb */ color: rgb(59, 40, 176);
/* oklch */ color: oklch(40.3% 0.201 278.7);
Tailwind
colors: {
  custom: {
    50: '#8165c9',
    500: '#3b28b0',
    950: '#000000',
  },
}
SCSS
$custom: #3b28b0;
$custom-light: #8165c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28b0",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 248.382,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40335,
    "c": 0.20071,
    "h": 278.7
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B28B0

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

Preview Lab → · Contrast checker → · Palette generator →

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