#3A488C#3A488C

#3A488C is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.6% C 0.113 H 272.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3A488C
RGBrgb(58, 72, 140)
HSLhsl(230, 41%, 39%)
HSVhsv(230, 59%, 55%)
CMYKcmyk(58.6%, 48.6%, 0%, 45.1%)
CIE-LABlab(32.76, 15.98, -39.65)
CIE-LCHlch(32.76, 42.75, 291.94°)
OKLaboklab(42.63% 0.004 -0.1131)
OKLCHoklch(42.63% 0.113 272)
XYZxyz(8.7944, 7.4271, 25.7760)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A488C #8C7E3A
analogous
#3A718C #3A488C #553A8C
triadic
#3A488C #8C3A48 #488C3A
tetradic
#3A488C #8C3A71 #8C7E3A #3A8C55
square
#3A488C #8C3A71 #8C7E3A #3A8C55
split-complementary
#3A488C #8C553A #718C3A
monochromatic
#161B35 #283261 #3A488C #4E5FB6 #7986C7

Accessibility & contrast

On white

8.45
#3A488C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A488C
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A488C#FFFFFF#000000##FFFFFF
##3A488C1.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518F
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#045763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a488c;
/* rgb */ color: rgb(58, 72, 140);
/* oklch */ color: oklch(42.6% 0.113 272.0);
Tailwind
colors: {
  custom: {
    50: '#777aae',
    500: '#3a488c',
    950: '#000000',
  },
}
SCSS
$custom: #3a488c;
$custom-light: #777aae;
$custom-dark: #000000;
JSON
{
  "hex": "#3a488c",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 229.756,
    "s": 41.414,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.1132,
    "h": 272
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#3A488C
secondary
#B1A671
accent
#BC57D1
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3A488C

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

Preview Lab → · Contrast checker → · Palette generator →

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