#3A4EBC#3A4EBC

#3A4EBC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.5% C 0.174 H 270.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#3A4EBC
RGBrgb(58, 78, 188)
HSLhsl(231, 53%, 48%)
HSVhsv(231, 69%, 74%)
CMYKcmyk(69.1%, 58.5%, 0%, 26.3%)
CIE-LABlab(37.80, 29.25, -60.27)
CIE-LCHlch(37.80, 66.99, 295.89°)
OKLaboklab(47.51% 0.0015 -0.1737)
OKLCHoklch(47.51% 0.174 270.5)
XYZxyz(13.5433, 9.9778, 48.7794)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EBC #BCA83A
analogous
#3A8FBC #3A4EBC #673ABC
triadic
#3A4EBC #BC3A4E #4EBC3A
tetradic
#3A4EBC #BC3A8F #BCA83A #3ABC67
square
#3A4EBC #BC3A8F #BCA83A #3ABC67
split-complementary
#3A4EBC #BC673A #8FBC3A
monochromatic
#1D275E #2C3B8D #3A4EBC #6475CF #939EDE

Accessibility & contrast

On white

7.01
#3A4EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#3A4EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4EBC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EBC#FFFFFF#000000##FFFFFF
##3A4EBC1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4ebc;
/* rgb */ color: rgb(58, 78, 188);
/* oklch */ color: oklch(47.5% 0.174 270.5);
Tailwind
colors: {
  custom: {
    50: '#807fd1',
    500: '#3a4ebc',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ebc;
$custom-light: #807fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ebc",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 230.769,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.17371,
    "h": 270.5
  },
  "luminance": 0.09979
}

Semantic roles & 50–950 ramp

primary
#3A4EBC
secondary
#C9BF89
accent
#C64CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3A4EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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