#3A4DBF#3A4DBF

#3A4DBF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.179 H 270.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#3A4DBF
RGBrgb(58, 77, 191)
HSLhsl(231, 53%, 49%)
HSVhsv(231, 70%, 75%)
CMYKcmyk(69.6%, 59.7%, 0%, 25.1%)
CIE-LABlab(37.78, 30.96, -62.06)
CIE-LCHlch(37.78, 69.35, 296.52°)
OKLaboklab(47.57% 0.0023 -0.179)
OKLCHoklch(47.57% 0.179 270.7)
XYZxyz(13.7996, 9.9675, 50.4768)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DBF #BFAC3A
analogous
#3A90BF #3A4DBF #6A3ABF
triadic
#3A4DBF #BF3A4D #4DBF3A
tetradic
#3A4DBF #BF3A90 #BFAC3A #3ABF6A
square
#3A4DBF #BF3A90 #BFAC3A #3ABF6A
split-complementary
#3A4DBF #BF6A3A #90BF3A
monochromatic
#1D2761 #2C3A90 #3A4DBF #6675D0 #959FDF

Accessibility & contrast

On white

7.01
#3A4DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3A4DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DBF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DBF#FFFFFF#000000##FFFFFF
##3A4DBF1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0053BD
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4dbf;
/* rgb */ color: rgb(58, 77, 191);
/* oklch */ color: oklch(47.6% 0.179 270.7);
Tailwind
colors: {
  custom: {
    50: '#817ed3',
    500: '#3a4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dbf;
$custom-light: #817ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dbf",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 231.429,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.47573,
    "c": 0.17898,
    "h": 270.7
  },
  "luminance": 0.09969
}

Semantic roles & 50–950 ramp

primary
#3A4DBF
secondary
#CAC18B
accent
#C84BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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