#3A26A8#3A26A8

#3A26A8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.2% C 0.193 H 279.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3A26A8
RGBrgb(58, 38, 168)
HSLhsl(249, 63%, 40%)
HSVhsv(249, 77%, 66%)
CMYKcmyk(65.5%, 77.4%, 0%, 34.1%)
CIE-LABlab(27.05, 46.50, -65.99)
CIE-LCHlch(27.05, 80.73, 305.17°)
OKLaboklab(39.17% 0.0323 -0.1905)
OKLCHoklch(39.17% 0.193 279.6)
XYZxyz(9.5037, 5.1122, 37.5241)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26A8 #94A826
analogous
#2653A8 #3A26A8 #7B26A8
triadic
#3A26A8 #A83A26 #26A83A
tetradic
#3A26A8 #A82653 #94A826 #26A87B
square
#3A26A8 #A82653 #94A826 #26A87B
split-complementary
#3A26A8 #A87B26 #53A826
monochromatic
#180F44 #291B76 #3A26A8 #5139D2 #7D6BDE

Accessibility & contrast

On white

10.38
#3A26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3A26A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26A8
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26A8#FFFFFF#000000##FFFFFF
##3A26A81.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a26a8;
/* rgb */ color: rgb(58, 38, 168);
/* oklch */ color: oklch(39.2% 0.193 279.6);
Tailwind
colors: {
  custom: {
    50: '#7f64c3',
    500: '#3a26a8',
    950: '#000000',
  },
}
SCSS
$custom: #3a26a8;
$custom-light: #7f64c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26a8",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 249.231,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39169,
    "c": 0.19325,
    "h": 279.6
  },
  "luminance": 0.05113
}

Semantic roles & 50–950 ramp

primary
#3A26A8
secondary
#B5C466
accent
#E642CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3A26A8

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

Preview Lab → · Contrast checker → · Palette generator →

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