#3A4EB8#3A4EB8

#3A4EB8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.168 H 270.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#3A4EB8
RGBrgb(58, 78, 184)
HSLhsl(230, 52%, 47%)
HSVhsv(230, 68%, 72%)
CMYKcmyk(68.5%, 57.6%, 0%, 27.8%)
CIE-LABlab(37.50, 27.81, -58.42)
CIE-LCHlch(37.50, 64.70, 295.46°)
OKLaboklab(47.19% 0.0015 -0.1683)
OKLCHoklch(47.19% 0.168 270.5)
XYZxyz(13.1181, 9.8078, 46.5399)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EB8 #B8A43A
analogous
#3A8DB8 #3A4EB8 #653AB8
triadic
#3A4EB8 #B83A4E #4EB83A
tetradic
#3A4EB8 #B83A8D #B8A43A #3AB865
square
#3A4EB8 #B83A8D #B8A43A #3AB865
split-complementary
#3A4EB8 #B8653A #8DB83A
monochromatic
#1D275B #2B3A89 #3A4EB8 #6273CD #909CDC

Accessibility & contrast

On white

7.09
#3A4EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3A4EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4EB8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EB8#FFFFFF#000000##FFFFFF
##3A4EB81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBC
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4eb8;
/* rgb */ color: rgb(58, 78, 184);
/* oklch */ color: oklch(47.2% 0.168 270.5);
Tailwind
colors: {
  custom: {
    50: '#7f7fce',
    500: '#3a4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a4eb8;
$custom-light: #7f7fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4eb8",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 230.476,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47187,
    "c": 0.16828,
    "h": 270.5
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#3A4EB8
secondary
#C7BD87
accent
#C54CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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