#3A4DCB#3A4DCB

#3A4DCB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.6% C 0.195 H 270.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#3A4DCB
RGBrgb(58, 77, 203)
HSLhsl(232, 58%, 51%)
HSVhsv(232, 71%, 80%)
CMYKcmyk(71.4%, 62.1%, 0%, 20.4%)
CIE-LABlab(38.76, 35.23, -67.46)
CIE-LCHlch(38.76, 76.10, 297.58°)
OKLaboklab(48.59% 0.0021 -0.1948)
OKLCHoklch(48.59% 0.195 270.6)
XYZxyz(15.1746, 10.5176, 57.7187)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DCB #CBB83A
analogous
#3A95CB #3A4DCB #6F3ACB
triadic
#3A4DCB #CB3A4D #4DCB3A
tetradic
#3A4DCB #CB3A95 #CBB83A #3ACB6F
square
#3A4DCB #CB3A95 #CBB83A #3ACB6F
split-complementary
#3A4DCB #CB6F3A #95CB3A
monochromatic
#1D286E #2A399E #3A4DCB #6A79D8 #9BA4E5

Accessibility & contrast

On white

6.77
#3A4DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#3A4DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4DCB
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DCB#FFFFFF#000000##FFFFFF
##3A4DCB1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3a4dcb;
/* rgb */ color: rgb(58, 77, 203);
/* oklch */ color: oklch(48.6% 0.195 270.6);
Tailwind
colors: {
  custom: {
    50: '#847edc',
    500: '#3a4dcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dcb;
$custom-light: #847edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dcb",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 232.138,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48594,
    "c": 0.19482,
    "h": 270.6
  },
  "luminance": 0.10519
}

Semantic roles & 50–950 ramp

primary
#3A4DCB
secondary
#D0C890
accent
#CD46E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A4DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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