#3A4B79#3A4B79

#3A4B79 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.080 H 267.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#3A4B79
RGBrgb(58, 75, 121)
HSLhsl(224, 35%, 35%)
HSVhsv(224, 52%, 47%)
CMYKcmyk(52.1%, 38%, 0%, 52.5%)
CIE-LABlab(32.51, 7.37, -28.31)
CIE-LCHlch(32.51, 29.25, 284.60°)
OKLaboklab(42.07% -0.0034 -0.0799)
OKLCHoklch(42.07% 0.08 267.5)
XYZxyz(7.7111, 7.3117, 19.0904)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4B79 #79683A
analogous
#3A6A79 #3A4B79 #493A79
triadic
#3A4B79 #793A4B #4B793A
tetradic
#3A4B79 #793A6A #79683A #3A7949
square
#3A4B79 #793A6A #79683A #3A7949
split-complementary
#3A4B79 #79493A #6A793A
monochromatic
#121826 #263150 #3A4B79 #4E65A2 #7286BB

Accessibility & contrast

On white

8.53
#3A4B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A4B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4B79
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4B79#FFFFFF#000000##FFFFFF
##3A4B791.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7B
Deuteranopia (green-blind)
#334A78
Tritanopia (blue-blind)
#1F555C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a4b79;
/* rgb */ color: rgb(58, 75, 121);
/* oklch */ color: oklch(42.1% 0.080 267.5);
Tailwind
colors: {
  custom: {
    50: '#747da0',
    500: '#3a4b79',
    950: '#000000',
  },
}
SCSS
$custom: #3a4b79;
$custom-light: #747da0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4b79",
  "rgb": {
    "r": 58,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 223.81,
    "s": 35.196,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4207,
    "c": 0.07995,
    "h": 267.5
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#3A4B79
secondary
#A5956A
accent
#AD5DCB
background
#F7F7F9
surface
#EDEEF2
border
#C8C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #3A4B79

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

Preview Lab → · Contrast checker → · Palette generator →

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