#3A4ECB#3A4ECB

#3A4ECB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.8% C 0.194 H 270.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#3A4ECB
RGBrgb(58, 78, 203)
HSLhsl(232, 58%, 51%)
HSVhsv(232, 71%, 80%)
CMYKcmyk(71.4%, 61.6%, 0%, 20.4%)
CIE-LABlab(39.00, 34.60, -67.06)
CIE-LCHlch(39.00, 75.46, 297.29°)
OKLaboklab(48.77% 0.0014 -0.1936)
OKLCHoklch(48.77% 0.194 270.4)
XYZxyz(15.2451, 10.6586, 57.7422)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4ECB #CBB73A
analogous
#3A96CB #3A4ECB #6E3ACB
triadic
#3A4ECB #CB3A4E #4ECB3A
tetradic
#3A4ECB #CB3A96 #CBB73A #3ACB6E
square
#3A4ECB #CB3A96 #CBB73A #3ACB6E
split-complementary
#3A4ECB #CB6E3A #96CB3A
monochromatic
#1D286E #2A3A9E #3A4ECB #6A7AD8 #9BA5E5

Accessibility & contrast

On white

6.70
#3A4ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3A4ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4ECB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4ECB#FFFFFF#000000##FFFFFF
##3A4ECB1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0055C9
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a4ecb;
/* rgb */ color: rgb(58, 78, 203);
/* oklch */ color: oklch(48.8% 0.194 270.4);
Tailwind
colors: {
  custom: {
    50: '#837fdc',
    500: '#3a4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ecb;
$custom-light: #837fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ecb",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 231.724,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48774,
    "c": 0.19364,
    "h": 270.4
  },
  "luminance": 0.1066
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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