#3A488E#3A488E

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

Color values

HEX#3A488E
RGBrgb(58, 72, 142)
HSLhsl(230, 42%, 39%)
HSVhsv(230, 59%, 56%)
CMYKcmyk(59.2%, 49.3%, 0%, 44.3%)
CIE-LABlab(32.89, 16.68, -40.67)
CIE-LCHlch(32.89, 43.96, 292.30°)
OKLaboklab(42.77% 0.0043 -0.1161)
OKLCHoklch(42.77% 0.116 272.1)
XYZxyz(8.9432, 7.4866, 26.5597)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A488E #8E803A
analogous
#3A728E #3A488E #563A8E
triadic
#3A488E #8E3A48 #488E3A
tetradic
#3A488E #8E3A72 #8E803A #3A8E56
square
#3A488E #8E3A72 #8E803A #3A8E56
split-complementary
#3A488E #8E563A #728E3A
monochromatic
#171C37 #283263 #3A488E #4E60B7 #7A87C9

Accessibility & contrast

On white

8.41
#3A488E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A488E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A488E#FFFFFF#000000##FFFFFF
##3A488E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a488e;
/* rgb */ color: rgb(58, 72, 142);
/* oklch */ color: oklch(42.8% 0.116 272.1);
Tailwind
colors: {
  custom: {
    50: '#787aaf',
    500: '#3a488e',
    950: '#000000',
  },
}
SCSS
$custom: #3a488e;
$custom-light: #787aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a488e",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 142
  },
  "hsl": {
    "h": 230,
    "s": 42,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42771,
    "c": 0.1162,
    "h": 272.1
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#3A488E
secondary
#B2A772
accent
#BD56D2
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3A488E

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

Preview Lab → · Contrast checker → · Palette generator →

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