#3A3FBF#3A3FBF

#3A3FBF is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.1% C 0.196 H 273.7°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3A3FBF
RGBrgb(58, 63, 191)
HSLhsl(238, 53%, 49%)
HSVhsv(238, 70%, 75%)
CMYKcmyk(69.6%, 67%, 0%, 25.1%)
CIE-LABlab(34.43, 39.75, -67.55)
CIE-LCHlch(34.43, 78.38, 300.48°)
OKLaboklab(45.11% 0.0124 -0.1952)
OKLCHoklch(45.11% 0.196 273.7)
XYZxyz(12.9233, 8.2149, 50.1847)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FBF #BFBA3A
analogous
#3A82BF #3A3FBF #783ABF
triadic
#3A3FBF #BF3A3F #3FBF3A
tetradic
#3A3FBF #BF3A82 #BFBA3A #3ABF78
square
#3A3FBF #BF3A82 #BFBA3A #3ABF78
split-complementary
#3A3FBF #BF783A #82BF3A
monochromatic
#1D2061 #2C3090 #3A3FBF #666AD0 #9597DF

Accessibility & contrast

On white

7.94
#3A3FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3A3FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FBF
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FBF#FFFFFF#000000##FFFFFF
##3A3FBF1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3fbf;
/* rgb */ color: rgb(58, 63, 191);
/* oklch */ color: oklch(45.1% 0.196 273.7);
Tailwind
colors: {
  custom: {
    50: '#8274d3',
    500: '#3a3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fbf;
$custom-light: #8274d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fbf",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 237.744,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45108,
    "c": 0.19556,
    "h": 273.7
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#3A3FBF
secondary
#CAC88B
accent
#D74BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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