#3A4EBE#3A4EBE

#3A4EBE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.176 H 270.5°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3A4EBE
RGBrgb(58, 78, 190)
HSLhsl(231, 53%, 49%)
HSVhsv(231, 69%, 75%)
CMYKcmyk(69.5%, 58.9%, 0%, 25.5%)
CIE-LABlab(37.96, 29.96, -61.19)
CIE-LCHlch(37.96, 68.13, 296.09°)
OKLaboklab(47.68% 0.0016 -0.1764)
OKLCHoklch(47.68% 0.176 270.5)
XYZxyz(13.7604, 10.0647, 49.9227)
Luminance0.1007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EBE #BEAA3A
analogous
#3A90BE #3A4EBE #683ABE
triadic
#3A4EBE #BE3A4E #4EBE3A
tetradic
#3A4EBE #BE3A90 #BEAA3A #3ABE68
square
#3A4EBE #BE3A90 #BEAA3A #3ABE68
split-complementary
#3A4EBE #BE683A #90BE3A
monochromatic
#1D2860 #2C3B8F #3A4EBE #6575D0 #949FDE

Accessibility & contrast

On white

6.97
#3A4EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A4EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4EBE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EBE#FFFFFF#000000##FFFFFF
##3A4EBE1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4ebe;
/* rgb */ color: rgb(58, 78, 190);
/* oklch */ color: oklch(47.7% 0.176 270.5);
Tailwind
colors: {
  custom: {
    50: '#817fd2',
    500: '#3a4ebe',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ebe;
$custom-light: #817fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ebe",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 230.909,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.17641,
    "h": 270.5
  },
  "luminance": 0.10066
}

Semantic roles & 50–950 ramp

primary
#3A4EBE
secondary
#CAC08A
accent
#C74BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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