#3A4E96#3A4E96

#3A4E96 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.6% C 0.120 H 269.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3A4E96
RGBrgb(58, 78, 150)
HSLhsl(227, 44%, 41%)
HSVhsv(227, 61%, 59%)
CMYKcmyk(61.3%, 48%, 0%, 41.2%)
CIE-LABlab(35.10, 15.56, -42.00)
CIE-LCHlch(35.10, 44.79, 290.33°)
OKLaboklab(44.62% -0.0013 -0.1199)
OKLCHoklch(44.62% 0.12 269.4)
XYZxyz(9.9725, 8.5495, 29.9729)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E96 #96823A
analogous
#3A7C96 #3A4E96 #543A96
triadic
#3A4E96 #963A4E #4E963A
tetradic
#3A4E96 #963A7C #96823A #3A9654
square
#3A4E96 #963A7C #96823A #3A9654
split-complementary
#3A4E96 #96543A #7C963A
monochromatic
#18203E #29376A #3A4E96 #5168BC #7D8FCD

Accessibility & contrast

On white

7.75
#3A4E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3A4E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E96
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E96#FFFFFF#000000##FFFFFF
##3A4E961.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5799
Deuteranopia (green-blind)
#1C4F94
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a4e96;
/* rgb */ color: rgb(58, 78, 150);
/* oklch */ color: oklch(44.6% 0.120 269.4);
Tailwind
colors: {
  custom: {
    50: '#797fb5',
    500: '#3a4e96',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e96;
$custom-light: #797fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e96",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 150
  },
  "hsl": {
    "h": 226.957,
    "s": 44.231,
    "l": 40.784
  },
  "oklch": {
    "l": 0.44621,
    "c": 0.11996,
    "h": 269.4
  },
  "luminance": 0.0855
}

Semantic roles & 50–950 ramp

primary
#3A4E96
secondary
#B6A875
accent
#B854D4
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3A4E96

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

Preview Lab → · Contrast checker → · Palette generator →

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