#3B4ACC#3B4ACC

#3B4ACC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.2% C 0.199 H 271.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3B4ACC
RGBrgb(59, 74, 204)
HSLhsl(234, 59%, 52%)
HSVhsv(234, 71%, 80%)
CMYKcmyk(71.1%, 63.7%, 0%, 20%)
CIE-LABlab(38.17, 37.58, -68.99)
CIE-LCHlch(38.17, 78.56, 298.58°)
OKLaboklab(48.21% 0.0052 -0.1993)
OKLCHoklch(48.21% 0.199 271.5)
XYZxyz(15.1478, 10.1855, 58.2827)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B4ACC #CCBD3B
analogous
#3B93CC #3B4ACC #753BCC
triadic
#3B4ACC #CC3B4A #4ACC3B
tetradic
#3B4ACC #CC3B93 #CCBD3B #3BCC75
square
#3B4ACC #CC3B93 #CCBD3B #3BCC75
split-complementary
#3B4ACC #CC753B #93CC3B
monochromatic
#1D2670 #2A36A0 #3B4ACC #6C77D9 #9CA4E5

Accessibility & contrast

On white

6.91
#3B4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3B4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B4ACC
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B4ACC#FFFFFF#000000##FFFFFF
##3B4ACC1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3b4acc;
/* rgb */ color: rgb(59, 74, 204);
/* oklch */ color: oklch(48.2% 0.199 271.5);
Tailwind
colors: {
  custom: {
    50: '#847cdd',
    500: '#3b4acc',
    950: '#000000',
  },
}
SCSS
$custom: #3b4acc;
$custom-light: #847cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b4acc",
  "rgb": {
    "r": 59,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 233.793,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.48206,
    "c": 0.19936,
    "h": 271.5
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#3B4ACC
secondary
#D1CB92
accent
#D246E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3B4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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