#3B42CA#3B42CA

#3B42CA is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 46.7% C 0.206 H 272.9°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#3B42CA
RGBrgb(59, 66, 202)
HSLhsl(237, 57%, 51%)
HSVhsv(237, 71%, 79%)
CMYKcmyk(70.8%, 67.3%, 0%, 20.8%)
CIE-LABlab(36.16, 41.80, -71.13)
CIE-LCHlch(36.16, 82.51, 300.44°)
OKLaboklab(46.68% 0.0105 -0.2056)
OKLCHoklch(46.68% 0.206 272.9)
XYZxyz(14.4089, 9.0891, 56.8607)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B42CA #CAC33B
analogous
#3B89CA #3B42CA #7B3BCA
triadic
#3B42CA #CA3B42 #42CA3B
tetradic
#3B42CA #CA3B89 #CAC33B #3BCA7B
square
#3B42CA #CA3B89 #CAC33B #3BCA7B
split-complementary
#3B42CA #CA7B3B #89CA3B
monochromatic
#1E216D #2B309D #3B42CA #6B70D7 #9B9FE4

Accessibility & contrast

On white

7.45
#3B42CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3B42CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B42CA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B42CA#FFFFFF#000000##FFFFFF
##3B42CA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#004EC7
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3b42ca;
/* rgb */ color: rgb(59, 66, 202);
/* oklch */ color: oklch(46.7% 0.206 272.9);
Tailwind
colors: {
  custom: {
    50: '#8577db',
    500: '#3b42ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b42ca;
$custom-light: #8577db;
$custom-dark: #000000;
JSON
{
  "hex": "#3b42ca",
  "rgb": {
    "r": 59,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 237.063,
    "s": 57.43,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46681,
    "c": 0.20589,
    "h": 272.9
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#3B42CA
secondary
#D0CD91
accent
#D947E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3B42CA

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

Preview Lab → · Contrast checker → · Palette generator →

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