#3A4E93#3A4E93

#3A4E93 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.4% C 0.116 H 269.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3A4E93
RGBrgb(58, 78, 147)
HSLhsl(227, 43%, 40%)
HSVhsv(227, 61%, 58%)
CMYKcmyk(60.5%, 46.9%, 0%, 42.4%)
CIE-LABlab(34.91, 14.49, -40.48)
CIE-LCHlch(34.91, 43.00, 289.69°)
OKLaboklab(44.41% -0.0017 -0.1155)
OKLCHoklch(44.41% 0.116 269.1)
XYZxyz(9.7340, 8.4541, 28.7170)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4E93 #937F3A
analogous
#3A7A93 #3A4E93 #523A93
triadic
#3A4E93 #933A4E #4E933A
tetradic
#3A4E93 #933A7A #937F3A #3A9352
square
#3A4E93 #933A7A #937F3A #3A9352
split-complementary
#3A4E93 #93523A #7A933A
monochromatic
#171F3B #293767 #3A4E93 #5068BA #7C8ECB

Accessibility & contrast

On white

7.80
#3A4E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3A4E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4E93
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4E93#FFFFFF#000000##FFFFFF
##3A4E931.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5696
Deuteranopia (green-blind)
#204E92
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a4e93;
/* rgb */ color: rgb(58, 78, 147);
/* oklch */ color: oklch(44.4% 0.116 269.1);
Tailwind
colors: {
  custom: {
    50: '#787fb3',
    500: '#3a4e93',
    950: '#000000',
  },
}
SCSS
$custom: #3a4e93;
$custom-light: #787fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4e93",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 147
  },
  "hsl": {
    "h": 226.517,
    "s": 43.415,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44414,
    "c": 0.1155,
    "h": 269.1
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#3A4E93
secondary
#B5A674
accent
#B755D3
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #3A4E93

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

Preview Lab → · Contrast checker → · Palette generator →

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