#3740B3#3740B3

#3740B3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.180 H 273.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3740B3
RGBrgb(55, 64, 179)
HSLhsl(236, 53%, 46%)
HSVhsv(236, 69%, 70%)
CMYKcmyk(69.3%, 64.2%, 0%, 29.8%)
CIE-LABlab(33.42, 34.59, -62.12)
CIE-LCHlch(33.42, 71.10, 299.11°)
OKLaboklab(44% 0.0094 -0.1793)
OKLCHoklch(44% 0.18 273)
XYZxyz(11.5429, 7.7326, 43.5233)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740B3 #B3AA37
analogous
#377EB3 #3740B3 #6C37B3
triadic
#3740B3 #B33740 #40B337
tetradic
#3740B3 #B3377E #B3AA37 #37B36C
square
#3740B3 #B3377E #B3AA37 #37B36C
split-complementary
#3740B3 #B36C37 #7EB337
monochromatic
#1A1F55 #292F84 #3740B3 #5B63CD #8A8FDB

Accessibility & contrast

On white

8.25
#3740B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3740B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3740B3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740B3#FFFFFF#000000##FFFFFF
##3740B31.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3740b3;
/* rgb */ color: rgb(55, 64, 179);
/* oklch */ color: oklch(44.0% 0.180 273.0);
Tailwind
colors: {
  custom: {
    50: '#7e75cb',
    500: '#3740b3',
    950: '#000000',
  },
}
SCSS
$custom: #3740b3;
$custom-light: #7e75cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3740b3",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 235.645,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44,
    "c": 0.17957,
    "h": 273
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#3740B3
secondary
#C5C081
accent
#D24BDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3740B3

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

Preview Lab → · Contrast checker → · Palette generator →

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