#3740A5#3740A5

#3740A5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.161 H 273.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3740A5
RGBrgb(55, 64, 165)
HSLhsl(235, 50%, 43%)
HSVhsv(235, 67%, 65%)
CMYKcmyk(66.7%, 61.2%, 0%, 35.3%)
CIE-LABlab(32.25, 29.63, -55.68)
CIE-LCHlch(32.25, 63.07, 298.02°)
OKLaboklab(42.77% 0.01 -0.1604)
OKLCHoklch(42.77% 0.161 273.6)
XYZxyz(10.1982, 7.1947, 36.4413)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3740A5 #A59C37
analogous
#3777A5 #3740A5 #6537A5
triadic
#3740A5 #A53740 #40A537
tetradic
#3740A5 #A53777 #A59C37 #37A565
square
#3740A5 #A53777 #A59C37 #37A565
split-complementary
#3740A5 #A56537 #77A537
monochromatic
#181C49 #282E77 #3740A5 #535DC6 #8188D5

Accessibility & contrast

On white

8.61
#3740A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3740A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3740A5
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3740A5#FFFFFF#000000##FFFFFF
##3740A51.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3740a5;
/* rgb */ color: rgb(55, 64, 165);
/* oklch */ color: oklch(42.8% 0.161 273.6);
Tailwind
colors: {
  custom: {
    50: '#7b74c1',
    500: '#3740a5',
    950: '#000000',
  },
}
SCSS
$custom: #3740a5;
$custom-light: #7b74c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3740a5",
  "rgb": {
    "r": 55,
    "g": 64,
    "b": 165
  },
  "hsl": {
    "h": 235.091,
    "s": 50,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.16073,
    "h": 273.6
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#3740A5
secondary
#BFB979
accent
#CE4EDA
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3740A5

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

Preview Lab → · Contrast checker → · Palette generator →

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