#3A4DAF#3A4DAF

#3A4DAF is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.157 H 270.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#3A4DAF
RGBrgb(58, 77, 175)
HSLhsl(230, 50%, 46%)
HSVhsv(230, 67%, 69%)
CMYKcmyk(66.9%, 56%, 0%, 31.4%)
CIE-LABlab(36.56, 25.22, -54.63)
CIE-LCHlch(36.56, 60.17, 294.78°)
OKLaboklab(46.27% 0.002 -0.1571)
OKLCHoklch(46.27% 0.157 270.7)
XYZxyz(12.1340, 9.3013, 41.7050)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DAF #AF9C3A
analogous
#3A88AF #3A4DAF #613AAF
triadic
#3A4DAF #AF3A4D #4DAF3A
tetradic
#3A4DAF #AF3A88 #AF9C3A #3AAF61
square
#3A4DAF #AF3A88 #AF9C3A #3AAF61
split-complementary
#3A4DAF #AF613A #88AF3A
monochromatic
#1C2553 #2B3981 #3A4DAF #5D6FC9 #8B97D9

Accessibility & contrast

On white

7.34
#3A4DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#3A4DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DAF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DAF#FFFFFF#000000##FFFFFF
##3A4DAF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3a4daf;
/* rgb */ color: rgb(58, 77, 175);
/* oklch */ color: oklch(46.3% 0.157 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e7ec8',
    500: '#3a4daf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4daf;
$custom-light: #7e7ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4daf",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 230.256,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46273,
    "c": 0.15713,
    "h": 270.7
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#3A4DAF
secondary
#C3B882
accent
#C34EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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