#3A4FBA#3A4FBA

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

Color values

HEX#3A4FBA
RGBrgb(58, 79, 186)
HSLhsl(230, 52%, 48%)
HSVhsv(230, 69%, 73%)
CMYKcmyk(68.8%, 57.5%, 0%, 27.1%)
CIE-LABlab(37.91, 27.88, -58.93)
CIE-LCHlch(37.91, 65.19, 295.32°)
OKLaboklab(47.54% 0.0007 -0.1698)
OKLCHoklch(47.54% 0.17 270.2)
XYZxyz(13.4008, 10.0354, 47.6756)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FBA #BAA53A
analogous
#3A8FBA #3A4FBA #653ABA
triadic
#3A4FBA #BA3A4F #4FBA3A
tetradic
#3A4FBA #BA3A8F #BAA53A #3ABA65
square
#3A4FBA #BA3A8F #BAA53A #3ABA65
split-complementary
#3A4FBA #BA653A #8FBA3A
monochromatic
#1D275D #2B3B8B #3A4FBA #6375CE #929EDD

Accessibility & contrast

On white

6.98
#3A4FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A4FBA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FBA#FFFFFF#000000##FFFFFF
##3A4FBA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4fba;
/* rgb */ color: rgb(58, 79, 186);
/* oklch */ color: oklch(47.5% 0.170 270.2);
Tailwind
colors: {
  custom: {
    50: '#8080d0',
    500: '#3a4fba',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fba;
$custom-light: #8080d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fba",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 186
  },
  "hsl": {
    "h": 230.156,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.16975,
    "h": 270.2
  },
  "luminance": 0.10037
}

Semantic roles & 50–950 ramp

primary
#3A4FBA
secondary
#C8BD88
accent
#C44CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A4FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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