#3837B7#3837B7

#3837B7 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.195 H 274.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3837B7
RGBrgb(56, 55, 183)
HSLhsl(240, 54%, 47%)
HSVhsv(240, 70%, 72%)
CMYKcmyk(69.4%, 69.9%, 0%, 28.2%)
CIE-LABlab(31.79, 41.62, -67.17)
CIE-LCHlch(31.79, 79.02, 301.78°)
OKLaboklab(42.94% 0.0163 -0.1941)
OKLCHoklch(42.94% 0.195 274.8)
XYZxyz(11.5415, 6.9909, 45.5317)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3837B7 #B6B737
analogous
#3776B7 #3837B7 #7837B7
triadic
#3837B7 #B73837 #37B738
tetradic
#3837B7 #B73776 #B6B737 #37B778
square
#3837B7 #B73776 #B6B737 #37B778
split-complementary
#3837B7 #B77837 #76B737
monochromatic
#1B1B59 #2A2988 #3837B7 #5E5DCE #8D8CDC

Accessibility & contrast

On white

8.76
#3837B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3837B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3837B7
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3837B7#FFFFFF#000000##FFFFFF
##3837B71.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3837b7;
/* rgb */ color: rgb(56, 55, 183);
/* oklch */ color: oklch(42.9% 0.195 274.8);
Tailwind
colors: {
  custom: {
    50: '#806fce',
    500: '#3837b7',
    950: '#000000',
  },
}
SCSS
$custom: #3837b7;
$custom-light: #806fce;
$custom-dark: #000000;
JSON
{
  "hex": "#3837b7",
  "rgb": {
    "r": 56,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 240.469,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.19479,
    "h": 274.8
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#3837B7
secondary
#C6C783
accent
#DD4BDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3837B7

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

Preview Lab → · Contrast checker → · Palette generator →

#3837B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva