#3A26B0#3A26B0

#3A26B0 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.203 H 278.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#3A26B0
RGBrgb(58, 38, 176)
HSLhsl(249, 64%, 42%)
HSVhsv(249, 78%, 69%)
CMYKcmyk(67%, 78.4%, 0%, 31%)
CIE-LABlab(27.90, 48.95, -69.40)
CIE-LCHlch(27.90, 84.93, 305.19°)
OKLaboklab(40.01% 0.0302 -0.2005)
OKLCHoklch(40.01% 0.203 278.6)
XYZxyz(10.2720, 5.4195, 41.5706)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26B0 #9CB026
analogous
#2657B0 #3A26B0 #7F26B0
triadic
#3A26B0 #B03A26 #26B03A
tetradic
#3A26B0 #B02657 #9CB026 #26B07F
square
#3A26B0 #B02657 #9CB026 #26B07F
split-complementary
#3A26B0 #B07F26 #57B026
monochromatic
#19104B #291B7E #3A26B0 #543ED5 #8070E0

Accessibility & contrast

On white

10.08
#3A26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A26B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26B0
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26B0#FFFFFF#000000##FFFFFF
##3A26B01.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003CAE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a26b0;
/* rgb */ color: rgb(58, 38, 176);
/* oklch */ color: oklch(40.0% 0.203 278.6);
Tailwind
colors: {
  custom: {
    50: '#8164c9',
    500: '#3a26b0',
    950: '#000000',
  },
}
SCSS
$custom: #3a26b0;
$custom-light: #8164c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26b0",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 248.696,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40012,
    "c": 0.20272,
    "h": 278.6
  },
  "luminance": 0.0542
}

Semantic roles & 50–950 ramp

primary
#3A26B0
secondary
#BAC76B
accent
#E740CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A26B0

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

Preview Lab → · Contrast checker → · Palette generator →

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