#3A26AF#3A26AF

#3A26AF is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.202 H 278.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3A26AF
RGBrgb(58, 38, 175)
HSLhsl(249, 64%, 42%)
HSVhsv(249, 78%, 69%)
CMYKcmyk(66.9%, 78.3%, 0%, 31.4%)
CIE-LABlab(27.79, 48.64, -68.98)
CIE-LCHlch(27.79, 84.41, 305.19°)
OKLaboklab(39.91% 0.0305 -0.1992)
OKLCHoklch(39.91% 0.202 278.7)
XYZxyz(10.1734, 5.3801, 41.0515)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A26AF #9BAF26
analogous
#2657AF #3A26AF #7F26AF
triadic
#3A26AF #AF3A26 #26AF3A
tetradic
#3A26AF #AF2657 #9BAF26 #26AF7F
square
#3A26AF #AF2657 #9BAF26 #26AF7F
split-complementary
#3A26AF #AF7F26 #57AF26
monochromatic
#19104A #291B7D #3A26AF #533DD5 #8070E0

Accessibility & contrast

On white

10.11
#3A26AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A26AF
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A26AF#FFFFFF#000000##FFFFFF
##3A26AF1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a26af;
/* rgb */ color: rgb(58, 38, 175);
/* oklch */ color: oklch(39.9% 0.202 278.7);
Tailwind
colors: {
  custom: {
    50: '#8164c8',
    500: '#3a26af',
    950: '#000000',
  },
}
SCSS
$custom: #3a26af;
$custom-light: #8164c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a26af",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 248.759,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39906,
    "c": 0.20155,
    "h": 278.7
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A26AF

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

Preview Lab → · Contrast checker → · Palette generator →

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