#3A4FB8#3A4FB8

#3A4FB8 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.4% C 0.167 H 270.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3A4FB8
RGBrgb(58, 79, 184)
HSLhsl(230, 52%, 47%)
HSVhsv(230, 68%, 72%)
CMYKcmyk(68.5%, 57.1%, 0%, 27.8%)
CIE-LABlab(37.75, 27.16, -58.00)
CIE-LCHlch(37.75, 64.05, 295.09°)
OKLaboklab(47.38% 0.0006 -0.167)
OKLCHoklch(47.38% 0.167 270.2)
XYZxyz(13.1897, 9.9509, 46.5637)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FB8 #B8A33A
analogous
#3A8EB8 #3A4FB8 #643AB8
triadic
#3A4FB8 #B83A4F #4FB83A
tetradic
#3A4FB8 #B83A8E #B8A33A #3AB864
square
#3A4FB8 #B83A8E #B8A33A #3AB864
split-complementary
#3A4FB8 #B8643A #8EB83A
monochromatic
#1D275B #2B3B89 #3A4FB8 #6274CD #909DDC

Accessibility & contrast

On white

7.02
#3A4FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3A4FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4FB8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FB8#FFFFFF#000000##FFFFFF
##3A4FB81.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBC
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4fb8;
/* rgb */ color: rgb(58, 79, 184);
/* oklch */ color: oklch(47.4% 0.167 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f80ce',
    500: '#3a4fb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fb8;
$custom-light: #7f80ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fb8",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 230,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47381,
    "c": 0.16702,
    "h": 270.2
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#3A4FB8
secondary
#C7BC87
accent
#C44CDC
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A4FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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