#3A4490#3A4490

#3A4490 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.125 H 274.1°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3A4490
RGBrgb(58, 68, 144)
HSLhsl(233, 43%, 40%)
HSVhsv(233, 60%, 56%)
CMYKcmyk(59.7%, 52.8%, 0%, 43.5%)
CIE-LABlab(31.91, 20.05, -43.47)
CIE-LCHlch(31.91, 47.87, 294.77°)
OKLaboklab(42.08% 0.009 -0.1244)
OKLCHoklch(42.08% 0.125 274.1)
XYZxyz(8.8444, 7.0467, 27.2742)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4490 #90863A
analogous
#3A6F90 #3A4490 #5B3A90
triadic
#3A4490 #903A44 #44903A
tetradic
#3A4490 #903A6F #90863A #3A905B
square
#3A4490 #903A6F #90863A #3A905B
split-complementary
#3A4490 #905B3A #6F903A
monochromatic
#171B39 #282F64 #3A4490 #4F5BB8 #7B84CA

Accessibility & contrast

On white

8.72
#3A4490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3A4490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4490
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4490#FFFFFF#000000##FFFFFF
##3A44901.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4F93
Deuteranopia (green-blind)
#06488E
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a4490;
/* rgb */ color: rgb(58, 68, 144);
/* oklch */ color: oklch(42.1% 0.125 274.1);
Tailwind
colors: {
  custom: {
    50: '#7877b1',
    500: '#3a4490',
    950: '#000000',
  },
}
SCSS
$custom: #3a4490;
$custom-light: #7877b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4490",
  "rgb": {
    "r": 58,
    "g": 68,
    "b": 144
  },
  "hsl": {
    "h": 233.023,
    "s": 42.574,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42076,
    "c": 0.12471,
    "h": 274.1
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#3A4490
secondary
#B3AC73
accent
#C455D2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A4490

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

Preview Lab → · Contrast checker → · Palette generator →

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