#3A487D#3A487D

#3A487D is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.090 H 270.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#3A487D
RGBrgb(58, 72, 125)
HSLhsl(227, 37%, 36%)
HSVhsv(227, 54%, 49%)
CMYKcmyk(53.6%, 42.4%, 0%, 51%)
CIE-LABlab(31.84, 10.73, -31.85)
CIE-LCHlch(31.84, 33.61, 288.62°)
OKLaboklab(41.63% 0.0014 -0.0902)
OKLCHoklch(41.63% 0.09 270.9)
XYZxyz(7.7628, 7.0144, 20.3429)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A487D #7D6F3A
analogous
#3A697D #3A487D #4D3A7D
triadic
#3A487D #7D3A48 #487D3A
tetradic
#3A487D #7D3A69 #7D6F3A #3A7D4D
square
#3A487D #7D3A69 #7D6F3A #3A7D4D
split-complementary
#3A487D #7D4D3A #697D3A
monochromatic
#131829 #273053 #3A487D #4D60A7 #7383BE

Accessibility & contrast

On white

8.74
#3A487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A487D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A487D#FFFFFF#000000##FFFFFF
##3A487D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#1C535C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a487d;
/* rgb */ color: rgb(58, 72, 125);
/* oklch */ color: oklch(41.6% 0.090 270.9);
Tailwind
colors: {
  custom: {
    50: '#757aa3',
    500: '#3a487d',
    950: '#000000',
  },
}
SCSS
$custom: #3a487d;
$custom-light: #757aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a487d",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 227.463,
    "s": 36.612,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41629,
    "c": 0.09026,
    "h": 270.9
  },
  "luminance": 0.07015
}

Semantic roles & 50–950 ramp

primary
#3A487D
secondary
#A89B6B
accent
#B55BCD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3A487D

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

Preview Lab → · Contrast checker → · Palette generator →

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