#3A37AF#3A37AF

#3A37AF is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.184 H 276.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#3A37AF
RGBrgb(58, 55, 175)
HSLhsl(242, 52%, 45%)
HSVhsv(242, 69%, 69%)
CMYKcmyk(66.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(31.18, 39.18, -63.41)
CIE-LCHlch(31.18, 74.54, 301.71°)
OKLaboklab(42.31% 0.0198 -0.1831)
OKLCHoklch(42.31% 0.184 276.2)
XYZxyz(10.8464, 6.7261, 41.2758)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A37AF #ACAF37
analogous
#3770AF #3A37AF #7637AF
triadic
#3A37AF #AF3A37 #37AF3A
tetradic
#3A37AF #AF3770 #ACAF37 #37AF76
square
#3A37AF #AF3770 #ACAF37 #37AF76
split-complementary
#3A37AF #AF7637 #70AF37
monochromatic
#1B1A52 #2B2880 #3A37AF #5B59CB #8987D9

Accessibility & contrast

On white

8.95
#3A37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3A37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A37AF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A37AF#FFFFFF#000000##FFFFFF
##3A37AF1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a37af;
/* rgb */ color: rgb(58, 55, 175);
/* oklch */ color: oklch(42.3% 0.184 276.2);
Tailwind
colors: {
  custom: {
    50: '#7f6fc8',
    500: '#3a37af',
    950: '#000000',
  },
}
SCSS
$custom: #3a37af;
$custom-light: #7f6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a37af",
  "rgb": {
    "r": 58,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 241.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.18413,
    "h": 276.2
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#3A37AF
secondary
#C2C37F
accent
#DC4CD8
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A37AF

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

Preview Lab → · Contrast checker → · Palette generator →

#3A37AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva