#3A26B4#3A26B4

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

Color values

HEX#3A26B4
RGBrgb(58, 38, 180)
HSLhsl(248, 65%, 43%)
HSVhsv(248, 79%, 71%)
CMYKcmyk(67.8%, 78.9%, 0%, 29.4%)
CIE-LABlab(28.33, 50.16, -71.08)
CIE-LCHlch(28.33, 87.00, 305.21°)
OKLaboklab(40.44% 0.0291 -0.2053)
OKLCHoklch(40.44% 0.207 278.1)
XYZxyz(10.6736, 5.5801, 43.6858)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26B4 #A0B426
analogous
#2659B4 #3A26B4 #8126B4
triadic
#3A26B4 #B43A26 #26B43A
tetradic
#3A26B4 #B42659 #A0B426 #26B481
square
#3A26B4 #B42659 #A0B426 #26B481
split-complementary
#3A26B4 #B48126 #59B426
monochromatic
#19114F #2A1B81 #3A26B4 #5640D7 #8373E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A26B4#FFFFFF#000000##FFFFFF
##3A26B41.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)
#0048B8
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a26b4;
/* rgb */ color: rgb(58, 38, 180);
/* oklch */ color: oklch(40.4% 0.207 278.1);
Tailwind
colors: {
  custom: {
    50: '#8264cc',
    500: '#3a26b4',
    950: '#000000',
  },
}
SCSS
$custom: #3a26b4;
$custom-light: #8264cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26b4",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 180
  },
  "hsl": {
    "h": 248.451,
    "s": 65.138,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.2074,
    "h": 278.1
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#3A26B4
secondary
#BCC96D
accent
#E840D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3A26B4

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

Preview Lab → · Contrast checker → · Palette generator →

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