#3A4CCB#3A4CCB

#3A4CCB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.4% C 0.196 H 270.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#3A4CCB
RGBrgb(58, 76, 203)
HSLhsl(233, 58%, 51%)
HSVhsv(233, 71%, 80%)
CMYKcmyk(71.4%, 62.6%, 0%, 20.4%)
CIE-LABlab(38.51, 35.86, -67.85)
CIE-LCHlch(38.51, 76.75, 297.86°)
OKLaboklab(48.42% 0.0028 -0.196)
OKLCHoklch(48.42% 0.196 270.8)
XYZxyz(15.1052, 10.3787, 57.6956)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CCB #CBB93A
analogous
#3A94CB #3A4CCB #703ACB
triadic
#3A4CCB #CB3A4C #4CCB3A
tetradic
#3A4CCB #CB3A94 #CBB93A #3ACB70
square
#3A4CCB #CB3A94 #CBB93A #3ACB70
split-complementary
#3A4CCB #CB703A #94CB3A
monochromatic
#1D276E #2A389E #3A4CCB #6A78D8 #9BA4E5

Accessibility & contrast

On white

6.83
#3A4CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3A4CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4CCB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CCB#FFFFFF#000000##FFFFFF
##3A4CCB1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a4ccb;
/* rgb */ color: rgb(58, 76, 203);
/* oklch */ color: oklch(48.4% 0.196 270.8);
Tailwind
colors: {
  custom: {
    50: '#847edc',
    500: '#3a4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4ccb;
$custom-light: #847edc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4ccb",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 232.552,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48416,
    "c": 0.196,
    "h": 270.8
  },
  "luminance": 0.1038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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