#3A4FBC#3A4FBC

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

Color values

HEX#3A4FBC
RGBrgb(58, 79, 188)
HSLhsl(230, 53%, 48%)
HSVhsv(230, 69%, 74%)
CMYKcmyk(69.1%, 58%, 0%, 26.3%)
CIE-LABlab(38.06, 28.60, -59.85)
CIE-LCHlch(38.06, 66.34, 295.54°)
OKLaboklab(47.7% 0.0007 -0.1725)
OKLCHoklch(47.7% 0.172 270.2)
XYZxyz(13.6149, 10.1210, 48.8032)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FBC #BCA73A
analogous
#3A90BC #3A4FBC #663ABC
triadic
#3A4FBC #BC3A4F #4FBC3A
tetradic
#3A4FBC #BC3A90 #BCA73A #3ABC66
square
#3A4FBC #BC3A90 #BCA73A #3ABC66
split-complementary
#3A4FBC #BC663A #90BC3A
monochromatic
#1D285E #2C3B8D #3A4FBC #6475CF #939FDE

Accessibility & contrast

On white

6.94
#3A4FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3A4FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FBC
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FBC#FFFFFF#000000##FFFFFF
##3A4FBC1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4fbc;
/* rgb */ color: rgb(58, 79, 188);
/* oklch */ color: oklch(47.7% 0.172 270.2);
Tailwind
colors: {
  custom: {
    50: '#8080d1',
    500: '#3a4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fbc;
$custom-light: #8080d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fbc",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 230.308,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47704,
    "c": 0.17246,
    "h": 270.2
  },
  "luminance": 0.10122
}

Semantic roles & 50–950 ramp

primary
#3A4FBC
secondary
#C9BE89
accent
#C54CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #3A4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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