#3A4FBB#3A4FBB

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

Color values

HEX#3A4FBB
RGBrgb(58, 79, 187)
HSLhsl(230, 53%, 48%)
HSVhsv(230, 69%, 73%)
CMYKcmyk(69%, 57.8%, 0%, 26.7%)
CIE-LABlab(37.98, 28.24, -59.39)
CIE-LCHlch(37.98, 65.77, 295.43°)
OKLaboklab(47.62% 0.0007 -0.1711)
OKLCHoklch(47.62% 0.171 270.2)
XYZxyz(13.5075, 10.0781, 48.2375)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FBB #BBA63A
analogous
#3A8FBB #3A4FBB #663ABB
triadic
#3A4FBB #BB3A4F #4FBB3A
tetradic
#3A4FBB #BB3A8F #BBA63A #3ABB66
square
#3A4FBB #BB3A8F #BBA63A #3ABB66
split-complementary
#3A4FBB #BB663A #8FBB3A
monochromatic
#1D285E #2C3B8C #3A4FBB #6375CF #929EDD

Accessibility & contrast

On white

6.96
#3A4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3A4FBB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FBB#FFFFFF#000000##FFFFFF
##3A4FBB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4fbb;
/* rgb */ color: rgb(58, 79, 187);
/* oklch */ color: oklch(47.6% 0.171 270.2);
Tailwind
colors: {
  custom: {
    50: '#8080d0',
    500: '#3a4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fbb;
$custom-light: #8080d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fbb",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 230.233,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47623,
    "c": 0.17111,
    "h": 270.2
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#3A4FBB
secondary
#C8BE88
accent
#C54CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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