#3A4E8D#3A4E8D

#3A4E8D is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.107 H 268.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3A4E8D
RGBrgb(58, 78, 141)
HSLhsl(226, 42%, 39%)
HSVhsv(226, 59%, 55%)
CMYKcmyk(58.9%, 44.7%, 0%, 44.7%)
CIE-LABlab(34.54, 12.35, -37.42)
CIE-LCHlch(34.54, 39.41, 288.27°)
OKLaboklab(44.01% -0.0027 -0.1065)
OKLCHoklch(44.01% 0.107 268.5)
XYZxyz(9.2754, 8.2707, 26.3018)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E8D #8D793A
analogous
#3A788D #3A4E8D #503A8D
triadic
#3A4E8D #8D3A4E #4E8D3A
tetradic
#3A4E8D #8D3A78 #8D793A #3A8D50
square
#3A4E8D #8D3A78 #8D793A #3A8D50
split-complementary
#3A4E8D #8D503A #788D3A
monochromatic
#161E36 #283662 #3A4E8D #4E67B6 #798CC8

Accessibility & contrast

On white

7.91
#3A4E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A4E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E8D
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E8D#FFFFFF#000000##FFFFFF
##3A4E8D1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558F
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a4e8d;
/* rgb */ color: rgb(58, 78, 141);
/* oklch */ color: oklch(44.0% 0.107 268.5);
Tailwind
colors: {
  custom: {
    50: '#777faf',
    500: '#3a4e8d',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e8d;
$custom-light: #777faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e8d",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 141
  },
  "hsl": {
    "h": 225.542,
    "s": 41.709,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.10654,
    "h": 268.5
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#3A4E8D
secondary
#B1A271
accent
#B456D2
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3A4E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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