#3A4CAF#3A4CAF

#3A4CAF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.158 H 271.1°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#3A4CAF
RGBrgb(58, 76, 175)
HSLhsl(231, 50%, 46%)
HSVhsv(231, 67%, 69%)
CMYKcmyk(66.9%, 56.6%, 0%, 31.4%)
CIE-LABlab(36.30, 25.87, -55.06)
CIE-LCHlch(36.30, 60.83, 295.17°)
OKLaboklab(46.08% 0.0029 -0.1584)
OKLCHoklch(46.08% 0.158 271.1)
XYZxyz(12.0646, 9.1625, 41.6819)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CAF #AF9D3A
analogous
#3A86AF #3A4CAF #623AAF
triadic
#3A4CAF #AF3A4C #4CAF3A
tetradic
#3A4CAF #AF3A86 #AF9D3A #3AAF62
square
#3A4CAF #AF3A86 #AF9D3A #3AAF62
split-complementary
#3A4CAF #AF623A #86AF3A
monochromatic
#1C2453 #2B3881 #3A4CAF #5D6EC9 #8B97D9

Accessibility & contrast

On white

7.41
#3A4CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A4CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4CAF
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CAF#FFFFFF#000000##FFFFFF
##3A4CAF1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a4caf;
/* rgb */ color: rgb(58, 76, 175);
/* oklch */ color: oklch(46.1% 0.158 271.1);
Tailwind
colors: {
  custom: {
    50: '#7e7dc8',
    500: '#3a4caf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4caf;
$custom-light: #7e7dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4caf",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 230.769,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.15842,
    "h": 271.1
  },
  "luminance": 0.09164
}

Semantic roles & 50–950 ramp

primary
#3A4CAF
secondary
#C3B982
accent
#C44EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A4CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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