#3A4EB9#3A4EB9

#3A4EB9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.170 H 270.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#3A4EB9
RGBrgb(58, 78, 185)
HSLhsl(231, 52%, 48%)
HSVhsv(231, 69%, 73%)
CMYKcmyk(68.6%, 57.8%, 0%, 27.5%)
CIE-LABlab(37.57, 28.17, -58.89)
CIE-LCHlch(37.57, 65.28, 295.57°)
OKLaboklab(47.27% 0.0015 -0.1696)
OKLCHoklch(47.27% 0.17 270.5)
XYZxyz(13.2233, 9.8498, 47.0939)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EB9 #B9A53A
analogous
#3A8EB9 #3A4EB9 #653AB9
triadic
#3A4EB9 #B93A4E #4EB93A
tetradic
#3A4EB9 #B93A8E #B9A53A #3AB965
square
#3A4EB9 #B93A8E #B9A53A #3AB965
split-complementary
#3A4EB9 #B9653A #8EB93A
monochromatic
#1D275C #2B3A8A #3A4EB9 #6273CE #919DDC

Accessibility & contrast

On white

7.07
#3A4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3A4EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4EB9
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EB9#FFFFFF#000000##FFFFFF
##3A4EB91.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4eb9;
/* rgb */ color: rgb(58, 78, 185);
/* oklch */ color: oklch(47.3% 0.170 270.5);
Tailwind
colors: {
  custom: {
    50: '#807fcf',
    500: '#3a4eb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a4eb9;
$custom-light: #807fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4eb9",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 230.551,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47268,
    "c": 0.16964,
    "h": 270.5
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#3A4EB9
secondary
#C7BD87
accent
#C54CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A4EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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