#3A488D#3A488D

#3A488D is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.7% C 0.115 H 272.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3A488D
RGBrgb(58, 72, 141)
HSLhsl(230, 42%, 39%)
HSVhsv(230, 59%, 55%)
CMYKcmyk(58.9%, 48.9%, 0%, 44.7%)
CIE-LABlab(32.82, 16.33, -40.16)
CIE-LCHlch(32.82, 43.36, 292.13°)
OKLaboklab(42.7% 0.0042 -0.1146)
OKLCHoklch(42.7% 0.115 272.1)
XYZxyz(8.8684, 7.4567, 26.1661)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A488D #8D7F3A
analogous
#3A728D #3A488D #563A8D
triadic
#3A488D #8D3A48 #488D3A
tetradic
#3A488D #8D3A72 #8D7F3A #3A8D56
square
#3A488D #8D3A72 #8D7F3A #3A8D56
split-complementary
#3A488D #8D563A #728D3A
monochromatic
#161C36 #283262 #3A488D #4E60B6 #7987C8

Accessibility & contrast

On white

8.43
#3A488D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A488D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A488D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A488D#FFFFFF#000000##FFFFFF
##3A488D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#025763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a488d;
/* rgb */ color: rgb(58, 72, 141);
/* oklch */ color: oklch(42.7% 0.115 272.1);
Tailwind
colors: {
  custom: {
    50: '#787aaf',
    500: '#3a488d',
    950: '#000000',
  },
}
SCSS
$custom: #3a488d;
$custom-light: #787aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a488d",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 229.88,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42701,
    "c": 0.11471,
    "h": 272.1
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#3A488D
secondary
#B1A771
accent
#BD56D2
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3A488D

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

Preview Lab → · Contrast checker → · Palette generator →

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