#3A488F#3A488F

#3A488F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.118 H 272.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3A488F
RGBrgb(58, 72, 143)
HSLhsl(230, 42%, 39%)
HSVhsv(230, 59%, 56%)
CMYKcmyk(59.4%, 49.7%, 0%, 43.9%)
CIE-LABlab(32.96, 17.04, -41.18)
CIE-LCHlch(32.96, 44.56, 292.48°)
OKLaboklab(42.84% 0.0044 -0.1176)
OKLCHoklch(42.84% 0.118 272.2)
XYZxyz(9.0186, 7.5168, 26.9569)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A488F #8F813A
analogous
#3A738F #3A488F #573A8F
triadic
#3A488F #8F3A48 #488F3A
tetradic
#3A488F #8F3A73 #8F813A #3A8F57
square
#3A488F #8F3A73 #8F813A #3A8F57
split-complementary
#3A488F #8F573A #738F3A
monochromatic
#171C38 #283263 #3A488F #4F60B7 #7A87C9

Accessibility & contrast

On white

8.39
#3A488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A488F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A488F#FFFFFF#000000##FFFFFF
##3A488F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255192
Deuteranopia (green-blind)
#174A8D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a488f;
/* rgb */ color: rgb(58, 72, 143);
/* oklch */ color: oklch(42.8% 0.118 272.2);
Tailwind
colors: {
  custom: {
    50: '#787ab0',
    500: '#3a488f',
    950: '#000000',
  },
}
SCSS
$custom: #3a488f;
$custom-light: #787ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a488f",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 230.118,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42842,
    "c": 0.11769,
    "h": 272.2
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#3A488F
secondary
#B3A872
accent
#BE56D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3A488F

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

Preview Lab → · Contrast checker → · Palette generator →

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