#3A4C8D#3A4C8D

#3A4C8D is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.6% C 0.109 H 269.8°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3A4C8D
RGBrgb(58, 76, 141)
HSLhsl(227, 42%, 39%)
HSVhsv(227, 59%, 55%)
CMYKcmyk(58.9%, 46.1%, 0%, 44.7%)
CIE-LABlab(33.96, 13.67, -38.34)
CIE-LCHlch(33.96, 40.71, 289.63°)
OKLaboklab(43.57% -0.0004 -0.1092)
OKLCHoklch(43.57% 0.109 269.8)
XYZxyz(9.1355, 7.9908, 26.2551)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4C8D #8D7B3A
analogous
#3A768D #3A4C8D #523A8D
triadic
#3A4C8D #8D3A4C #4C8D3A
tetradic
#3A4C8D #8D3A76 #8D7B3A #3A8D52
square
#3A4C8D #8D3A76 #8D7B3A #3A8D52
split-complementary
#3A4C8D #8D523A #768D3A
monochromatic
#161D36 #283562 #3A4C8D #4E65B6 #798AC8

Accessibility & contrast

On white

8.08
#3A4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4C8D
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4C8D#FFFFFF#000000##FFFFFF
##3A4C8D1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#234C8C
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a4c8d;
/* rgb */ color: rgb(58, 76, 141);
/* oklch */ color: oklch(43.6% 0.109 269.8);
Tailwind
colors: {
  custom: {
    50: '#777daf',
    500: '#3a4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3a4c8d;
$custom-light: #777daf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4c8d",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 226.988,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43569,
    "c": 0.10923,
    "h": 269.8
  },
  "luminance": 0.07992
}

Semantic roles & 50–950 ramp

primary
#3A4C8D
secondary
#B1A471
accent
#B756D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #3A4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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