#3A4290#3A4290

#3A4290 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.127 H 275.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3A4290
RGBrgb(58, 66, 144)
HSLhsl(234, 43%, 40%)
HSVhsv(234, 60%, 56%)
CMYKcmyk(59.7%, 54.2%, 0%, 43.5%)
CIE-LABlab(31.37, 21.38, -44.34)
CIE-LCHlch(31.37, 49.23, 295.74°)
OKLaboklab(41.67% 0.0112 -0.127)
OKLCHoklch(41.67% 0.127 275)
XYZxyz(8.7255, 6.8089, 27.2346)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4290 #90883A
analogous
#3A6D90 #3A4290 #5D3A90
triadic
#3A4290 #903A42 #42903A
tetradic
#3A4290 #903A6D #90883A #3A905D
square
#3A4290 #903A6D #90883A #3A905D
split-complementary
#3A4290 #905D3A #6D903A
monochromatic
#171A39 #282E64 #3A4290 #4F59B8 #7B82CA

Accessibility & contrast

On white

8.89
#3A4290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3A4290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4290
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4290#FFFFFF#000000##FFFFFF
##3A42901.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134E93
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a4290;
/* rgb */ color: rgb(58, 66, 144);
/* oklch */ color: oklch(41.7% 0.127 275.0);
Tailwind
colors: {
  custom: {
    50: '#7876b1',
    500: '#3a4290',
    950: '#000000',
  },
}
SCSS
$custom: #3a4290;
$custom-light: #7876b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4290",
  "rgb": {
    "r": 58,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 234.419,
    "s": 42.574,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41666,
    "c": 0.12749,
    "h": 275
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#3A4290
secondary
#B3AD73
accent
#C755D2
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3A4290

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

Preview Lab → · Contrast checker → · Palette generator →

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