#3A4FBF#3A4FBF

#3A4FBF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.9% C 0.177 H 270.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3A4FBF
RGBrgb(58, 79, 191)
HSLhsl(231, 53%, 49%)
HSVhsv(231, 70%, 75%)
CMYKcmyk(69.6%, 58.6%, 0%, 25.1%)
CIE-LABlab(38.29, 29.68, -61.23)
CIE-LCHlch(38.29, 68.05, 295.86°)
OKLaboklab(47.95% 0.0008 -0.1765)
OKLCHoklch(47.95% 0.177 270.2)
XYZxyz(13.9417, 10.2517, 50.5242)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FBF #BFAA3A
analogous
#3A92BF #3A4FBF #683ABF
triadic
#3A4FBF #BF3A4F #4FBF3A
tetradic
#3A4FBF #BF3A92 #BFAA3A #3ABF68
square
#3A4FBF #BF3A92 #BFAA3A #3ABF68
split-complementary
#3A4FBF #BF683A #92BF3A
monochromatic
#1D2861 #2C3C90 #3A4FBF #6677D0 #95A0DF

Accessibility & contrast

On white

6.88
#3A4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3A4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FBF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FBF#FFFFFF#000000##FFFFFF
##3A4FBF1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4fbf;
/* rgb */ color: rgb(58, 79, 191);
/* oklch */ color: oklch(47.9% 0.177 270.2);
Tailwind
colors: {
  custom: {
    50: '#8180d3',
    500: '#3a4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fbf;
$custom-light: #8180d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fbf",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 230.526,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47949,
    "c": 0.17652,
    "h": 270.2
  },
  "luminance": 0.10253
}

Semantic roles & 50–950 ramp

primary
#3A4FBF
secondary
#CAC08B
accent
#C64BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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