#3B47CB#3B47CB

#3B47CB is a mid, highly saturated blue. Relative luminance 0.097; OKLCH L 47.6% C 0.202 H 272.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#3B47CB
RGBrgb(59, 71, 203)
HSLhsl(235, 58%, 51%)
HSVhsv(235, 71%, 80%)
CMYKcmyk(70.9%, 65%, 0%, 20.4%)
CIE-LABlab(37.38, 39.09, -69.70)
CIE-LCHlch(37.38, 79.91, 299.29°)
OKLaboklab(47.6% 0.0072 -0.2014)
OKLCHoklch(47.6% 0.202 272.1)
XYZxyz(14.8327, 9.7466, 57.5879)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B47CB #CBBF3B
analogous
#3B8FCB #3B47CB #773BCB
triadic
#3B47CB #CB3B47 #47CB3B
tetradic
#3B47CB #CB3B8F #CBBF3B #3BCB77
square
#3B47CB #CB3B8F #CBBF3B #3BCB77
split-complementary
#3B47CB #CB773B #8FCB3B
monochromatic
#1D246E #2A349F #3B47CB #6B74D8 #9CA2E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B47CB#FFFFFF#000000##FFFFFF
##3B47CB1.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)
#005FCF
Deuteranopia (green-blind)
#0051C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3b47cb;
/* rgb */ color: rgb(59, 71, 203);
/* oklch */ color: oklch(47.6% 0.202 272.1);
Tailwind
colors: {
  custom: {
    50: '#847adc',
    500: '#3b47cb',
    950: '#000000',
  },
}
SCSS
$custom: #3b47cb;
$custom-light: #847adc;
$custom-dark: #000000;
JSON
{
  "hex": "#3b47cb",
  "rgb": {
    "r": 59,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 235,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47602,
    "c": 0.20153,
    "h": 272.1
  },
  "luminance": 0.09748
}

Semantic roles & 50–950 ramp

primary
#3B47CB
secondary
#D1CB91
accent
#D447E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3B47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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