#3A4697#3A4697

#3A4697 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.132 H 273.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3A4697
RGBrgb(58, 70, 151)
HSLhsl(232, 44%, 41%)
HSVhsv(232, 62%, 59%)
CMYKcmyk(61.6%, 53.6%, 0%, 40.8%)
CIE-LABlab(32.95, 21.21, -46.07)
CIE-LCHlch(32.95, 50.72, 294.73°)
OKLaboklab(43.01% 0.0074 -0.132)
OKLCHoklch(43.01% 0.132 273.2)
XYZxyz(9.5192, 7.5135, 30.2208)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4697 #978B3A
analogous
#3A7497 #3A4697 #5C3A97
triadic
#3A4697 #973A46 #46973A
tetradic
#3A4697 #973A74 #978B3A #3A975C
square
#3A4697 #973A74 #978B3A #3A975C
split-complementary
#3A4697 #975C3A #74973A
monochromatic
#181D3F #29326B #3A4697 #5260BC #7E88CD

Accessibility & contrast

On white

8.39
#3A4697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A4697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4697
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4697#FFFFFF#000000##FFFFFF
##3A46971.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a4697;
/* rgb */ color: rgb(58, 70, 151);
/* oklch */ color: oklch(43.0% 0.132 273.2);
Tailwind
colors: {
  custom: {
    50: '#7979b6',
    500: '#3a4697',
    950: '#000000',
  },
}
SCSS
$custom: #3a4697;
$custom-light: #7979b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4697",
  "rgb": {
    "r": 58,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 232.258,
    "s": 44.498,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43011,
    "c": 0.13223,
    "h": 273.2
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#3A4697
secondary
#B7AF76
accent
#C454D4
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3A4697

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

Preview Lab → · Contrast checker → · Palette generator →

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