#3741C2#3741C2

#3741C2 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.5% C 0.198 H 272.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3741C2
RGBrgb(55, 65, 194)
HSLhsl(236, 56%, 49%)
HSVhsv(236, 72%, 76%)
CMYKcmyk(71.6%, 66.5%, 0%, 23.9%)
CIE-LABlab(34.98, 39.21, -68.41)
CIE-LCHlch(34.98, 78.85, 299.82°)
OKLaboklab(45.54% 0.0075 -0.1977)
OKLCHoklch(45.54% 0.198 272.2)
XYZxyz(13.2002, 8.4865, 51.9709)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3741C2 #C2B837
analogous
#3787C2 #3741C2 #7337C2
triadic
#3741C2 #C23741 #41C237
tetradic
#3741C2 #C23787 #C2B837 #37C273
square
#3741C2 #C23787 #C2B837 #37C273
split-complementary
#3741C2 #C27337 #87C237
monochromatic
#1C2163 #293192 #3741C2 #636BD3 #9399E0

Accessibility & contrast

On white

7.78
#3741C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3741C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3741C2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3741C2#FFFFFF#000000##FFFFFF
##3741C21.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#004CC0
Tritanopia (blue-blind)
#00637C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3741c2;
/* rgb */ color: rgb(55, 65, 194);
/* oklch */ color: oklch(45.5% 0.198 272.2);
Tailwind
colors: {
  custom: {
    50: '#8176d6',
    500: '#3741c2',
    950: '#000000',
  },
}
SCSS
$custom: #3741c2;
$custom-light: #8176d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3741c2",
  "rgb": {
    "r": 55,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 235.683,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45543,
    "c": 0.19789,
    "h": 272.2
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#3741C2
secondary
#CBC789
accent
#D449DF
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3741C2

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

Preview Lab → · Contrast checker → · Palette generator →

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