#3A4590#3A4590

#3A4590 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.123 H 273.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3A4590
RGBrgb(58, 69, 144)
HSLhsl(232, 43%, 40%)
HSVhsv(232, 60%, 56%)
CMYKcmyk(59.7%, 52.1%, 0%, 43.5%)
CIE-LABlab(32.19, 19.39, -43.02)
CIE-LCHlch(32.19, 47.19, 294.26°)
OKLaboklab(42.28% 0.0079 -0.1231)
OKLCHoklch(42.28% 0.123 273.7)
XYZxyz(8.9054, 7.1687, 27.2946)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4590 #90853A
analogous
#3A7090 #3A4590 #5A3A90
triadic
#3A4590 #903A45 #45903A
tetradic
#3A4590 #903A70 #90853A #3A905A
square
#3A4590 #903A70 #90853A #3A905A
split-complementary
#3A4590 #905A3A #70903A
monochromatic
#171B39 #283064 #3A4590 #4F5DB8 #7B85CA

Accessibility & contrast

On white

8.63
#3A4590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A4590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4590
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4590#FFFFFF#000000##FFFFFF
##3A45901.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5093
Deuteranopia (green-blind)
#0A488E
Tritanopia (blue-blind)
#005663
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a4590;
/* rgb */ color: rgb(58, 69, 144);
/* oklch */ color: oklch(42.3% 0.123 273.7);
Tailwind
colors: {
  custom: {
    50: '#7878b1',
    500: '#3a4590',
    950: '#000000',
  },
}
SCSS
$custom: #3a4590;
$custom-light: #7878b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4590",
  "rgb": {
    "r": 58,
    "g": 69,
    "b": 144
  },
  "hsl": {
    "h": 232.326,
    "s": 42.574,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42283,
    "c": 0.12333,
    "h": 273.7
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#3A4590
secondary
#B3AB73
accent
#C255D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090911
muted
#7B7B80

Preview Lab

Preview with #3A4590

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

Preview Lab → · Contrast checker → · Palette generator →

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