#3740C2#3740C2

#3740C2 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.4% C 0.199 H 272.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3740C2
RGBrgb(55, 64, 194)
HSLhsl(236, 56%, 49%)
HSVhsv(236, 72%, 76%)
CMYKcmyk(71.6%, 67%, 0%, 23.9%)
CIE-LABlab(34.75, 39.82, -68.79)
CIE-LCHlch(34.75, 79.48, 300.07°)
OKLaboklab(45.38% 0.0082 -0.1988)
OKLCHoklch(45.38% 0.199 272.3)
XYZxyz(13.1433, 8.3727, 51.9519)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740C2 #C2B937
analogous
#3786C2 #3740C2 #7437C2
triadic
#3740C2 #C23740 #40C237
tetradic
#3740C2 #C23786 #C2B937 #37C274
square
#3740C2 #C23786 #C2B937 #37C274
split-complementary
#3740C2 #C27437 #86C237
monochromatic
#1C2163 #293092 #3740C2 #636BD3 #9398E0

Accessibility & contrast

On white

7.85
#3740C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3740C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3740C2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740C2#FFFFFF#000000##FFFFFF
##3740C21.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3740c2;
/* rgb */ color: rgb(55, 64, 194);
/* oklch */ color: oklch(45.4% 0.199 272.3);
Tailwind
colors: {
  custom: {
    50: '#8175d6',
    500: '#3740c2',
    950: '#000000',
  },
}
SCSS
$custom: #3740c2;
$custom-light: #8175d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3740c2",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 236.115,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45376,
    "c": 0.19902,
    "h": 272.3
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3740C2

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

Preview Lab → · Contrast checker → · Palette generator →

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