#3A26C9#3A26C9

#3A26C9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.7% C 0.231 H 275.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#3A26C9
RGBrgb(58, 38, 201)
HSLhsl(247, 68%, 47%)
HSVhsv(247, 81%, 79%)
CMYKcmyk(71.1%, 81.1%, 0%, 21.2%)
CIE-LABlab(30.64, 56.41, -79.65)
CIE-LCHlch(30.64, 97.60, 305.31°)
OKLaboklab(42.73% 0.0234 -0.2302)
OKLCHoklch(42.73% 0.231 275.8)
XYZxyz(12.9772, 6.5016, 55.8180)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26C9 #B5C926
analogous
#2664C9 #3A26C9 #8C26C9
triadic
#3A26C9 #C93A26 #26C93A
tetradic
#3A26C9 #C92664 #B5C926 #26C98C
square
#3A26C9 #C92664 #B5C926 #26C98C
split-complementary
#3A26C9 #C98C26 #64C926
monochromatic
#1C1362 #2B1C96 #3A26C9 #604FDE #8E82E7

Accessibility & contrast

On white

9.13
#3A26C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3A26C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A26C9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26C9#FFFFFF#000000##FFFFFF
##3A26C91.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCD
Deuteranopia (green-blind)
#0041C6
Tritanopia (blue-blind)
#005979
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a26c9;
/* rgb */ color: rgb(58, 38, 201);
/* oklch */ color: oklch(42.7% 0.231 275.8);
Tailwind
colors: {
  custom: {
    50: '#8666db',
    500: '#3a26c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a26c9;
$custom-light: #8666db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26c9",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 201
  },
  "hsl": {
    "h": 247.362,
    "s": 68.201,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42726,
    "c": 0.23141,
    "h": 275.8
  },
  "luminance": 0.06503
}

Semantic roles & 50–950 ramp

primary
#3A26C9
secondary
#C6D07B
accent
#EB3DD6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A26C9

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

Preview Lab → · Contrast checker → · Palette generator →

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