#3751C2#3751C2

#3751C2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.179 H 268.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3751C2
RGBrgb(55, 81, 194)
HSLhsl(229, 56%, 49%)
HSVhsv(229, 72%, 76%)
CMYKcmyk(71.6%, 58.2%, 0%, 23.9%)
CIE-LABlab(38.88, 29.07, -62.03)
CIE-LCHlch(38.88, 68.50, 295.11°)
OKLaboklab(48.42% -0.0036 -0.1789)
OKLCHoklch(48.42% 0.179 268.8)
XYZxyz(14.2522, 10.5907, 52.3216)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3751C2 #C2A837
analogous
#3797C2 #3751C2 #6337C2
triadic
#3751C2 #C23751 #51C237
tetradic
#3751C2 #C23797 #C2A837 #37C263
square
#3751C2 #C23797 #C2A837 #37C263
split-complementary
#3751C2 #C26337 #97C237
monochromatic
#1C2963 #293D92 #3751C2 #6378D3 #93A1E0

Accessibility & contrast

On white

6.73
#3751C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3751C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3751C2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3751C2#FFFFFF#000000##FFFFFF
##3751C21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#006D81
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3751c2;
/* rgb */ color: rgb(55, 81, 194);
/* oklch */ color: oklch(48.4% 0.179 268.8);
Tailwind
colors: {
  custom: {
    50: '#8081d5',
    500: '#3751c2',
    950: '#000000',
  },
}
SCSS
$custom: #3751c2;
$custom-light: #8081d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3751c2",
  "rgb": {
    "r": 55,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 228.777,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48422,
    "c": 0.17893,
    "h": 268.8
  },
  "luminance": 0.10592
}

Semantic roles & 50–950 ramp

primary
#3751C2
secondary
#CBBF89
accent
#C349DF
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3751C2

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

Preview Lab → · Contrast checker → · Palette generator →

#3751C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva