#3A4091#3A4091

#3A4091 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.3% C 0.132 H 275.8°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3A4091
RGBrgb(58, 64, 145)
HSLhsl(236, 43%, 40%)
HSVhsv(236, 60%, 57%)
CMYKcmyk(60%, 55.9%, 0%, 43.1%)
CIE-LABlab(30.90, 23.06, -45.71)
CIE-LCHlch(30.90, 51.20, 296.77°)
OKLaboklab(41.34% 0.0134 -0.131)
OKLCHoklch(41.34% 0.132 275.8)
XYZxyz(8.6875, 6.6100, 27.6006)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4091 #918B3A
analogous
#3A6C91 #3A4091 #603A91
triadic
#3A4091 #913A40 #40913A
tetradic
#3A4091 #913A6C #918B3A #3A9160
square
#3A4091 #913A6C #918B3A #3A9160
split-complementary
#3A4091 #91603A #6C913A
monochromatic
#17193A #292D65 #3A4091 #4F57B9 #7B81CA

Accessibility & contrast

On white

9.04
#3A4091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3A4091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4091
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4091#FFFFFF#000000##FFFFFF
##3A40911.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084D94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a4091;
/* rgb */ color: rgb(58, 64, 145);
/* oklch */ color: oklch(41.3% 0.132 275.8);
Tailwind
colors: {
  custom: {
    50: '#7974b2',
    500: '#3a4091',
    950: '#000000',
  },
}
SCSS
$custom: #3a4091;
$custom-light: #7974b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4091",
  "rgb": {
    "r": 58,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 235.862,
    "s": 42.857,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41339,
    "c": 0.13171,
    "h": 275.8
  },
  "luminance": 0.06611
}

Semantic roles & 50–950 ramp

primary
#3A4091
secondary
#B4AF73
accent
#CA55D3
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A4091

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

Preview Lab → · Contrast checker → · Palette generator →

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