#3A28AF#3A28AF

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

Color values

HEX#3A28AF
RGBrgb(58, 40, 175)
HSLhsl(248, 63%, 42%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(66.9%, 77.1%, 0%, 31.4%)
CIE-LABlab(28.14, 47.63, -68.40)
CIE-LCHlch(28.14, 83.35, 304.85°)
OKLaboklab(40.15% 0.0294 -0.1975)
OKLCHoklch(40.15% 0.2 278.5)
XYZxyz(10.2391, 5.5114, 41.0734)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A28AF #9DAF28
analogous
#285AAF #3A28AF #7E28AF
triadic
#3A28AF #AF3A28 #28AF3A
tetradic
#3A28AF #AF285A #9DAF28 #28AF7E
square
#3A28AF #AF285A #9DAF28 #28AF7E
split-complementary
#3A28AF #AF7E28 #5AAF28
monochromatic
#19114B #291D7D #3A28AF #5441D4 #8173DF

Accessibility & contrast

On white

9.99
#3A28AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3A28AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A28AF
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A28AF#FFFFFF#000000##FFFFFF
##3A28AF1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a28af;
/* rgb */ color: rgb(58, 40, 175);
/* oklch */ color: oklch(40.2% 0.200 278.5);
Tailwind
colors: {
  custom: {
    50: '#8165c8',
    500: '#3a28af',
    950: '#000000',
  },
}
SCSS
$custom: #3a28af;
$custom-light: #8165c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a28af",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 248,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40153,
    "c": 0.19972,
    "h": 278.5
  },
  "luminance": 0.05512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A28AF

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

Preview Lab → · Contrast checker → · Palette generator →

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