#3A4DBA#3A4DBA

#3A4DBA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.172 H 270.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3A4DBA
RGBrgb(58, 77, 186)
HSLhsl(231, 52%, 48%)
HSVhsv(231, 69%, 73%)
CMYKcmyk(68.8%, 58.6%, 0%, 27.1%)
CIE-LABlab(37.39, 29.17, -59.77)
CIE-LCHlch(37.39, 66.51, 296.02°)
OKLaboklab(47.16% 0.0023 -0.1722)
OKLCHoklch(47.16% 0.172 270.8)
XYZxyz(13.2587, 9.7512, 47.6283)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DBA #BAA73A
analogous
#3A8DBA #3A4DBA #673ABA
triadic
#3A4DBA #BA3A4D #4DBA3A
tetradic
#3A4DBA #BA3A8D #BAA73A #3ABA67
square
#3A4DBA #BA3A8D #BAA73A #3ABA67
split-complementary
#3A4DBA #BA673A #8DBA3A
monochromatic
#1D265D #2B3A8B #3A4DBA #6373CE #929DDD

Accessibility & contrast

On white

7.12
#3A4DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3A4DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4DBA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DBA#FFFFFF#000000##FFFFFF
##3A4DBA1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3a4dba;
/* rgb */ color: rgb(58, 77, 186);
/* oklch */ color: oklch(47.2% 0.172 270.8);
Tailwind
colors: {
  custom: {
    50: '#807ed0',
    500: '#3a4dba',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dba;
$custom-light: #807ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dba",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 231.094,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47159,
    "c": 0.17225,
    "h": 270.8
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#3A4DBA
secondary
#C8BE88
accent
#C74CDC
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3A4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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