#3A4783#3A4783

#3A4783 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.8% C 0.101 H 272.2°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3A4783
RGBrgb(58, 71, 131)
HSLhsl(229, 39%, 37%)
HSVhsv(229, 56%, 51%)
CMYKcmyk(55.7%, 45.8%, 0%, 48.6%)
CIE-LABlab(31.91, 13.48, -35.47)
CIE-LCHlch(31.91, 37.94, 290.80°)
OKLaboklab(41.8% 0.0038 -0.1009)
OKLCHoklch(41.8% 0.101 272.2)
XYZxyz(8.0936, 7.0442, 22.4015)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4783 #83763A
analogous
#3A6C83 #3A4783 #523A83
triadic
#3A4783 #833A47 #47833A
tetradic
#3A4783 #833A6C #83763A #3A8352
square
#3A4783 #833A6C #83763A #3A8352
split-complementary
#3A4783 #83523A #6C833A
monochromatic
#14192E #273059 #3A4783 #4D5EAD #7583C2

Accessibility & contrast

On white

8.72
#3A4783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3A4783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4783
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4783#FFFFFF#000000##FFFFFF
##3A47831.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E85
Deuteranopia (green-blind)
#244882
Tritanopia (blue-blind)
#15545E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a4783;
/* rgb */ color: rgb(58, 71, 131);
/* oklch */ color: oklch(41.8% 0.101 272.2);
Tailwind
colors: {
  custom: {
    50: '#767aa7',
    500: '#3a4783',
    950: '#000000',
  },
}
SCSS
$custom: #3a4783;
$custom-light: #767aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4783",
  "rgb": {
    "r": 58,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 229.315,
    "s": 38.624,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41798,
    "c": 0.10093,
    "h": 272.2
  },
  "luminance": 0.07045
}

Semantic roles & 50–950 ramp

primary
#3A4783
secondary
#ABA06D
accent
#BA59CF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#09090F
muted
#7B7B7F

Preview Lab

Preview with #3A4783

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

Preview Lab → · Contrast checker → · Palette generator →

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