#3A367E#3A367E

#3A367E is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.9% C 0.118 H 281.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3A367E
RGBrgb(58, 54, 126)
HSLhsl(243, 40%, 35%)
HSVhsv(243, 57%, 49%)
CMYKcmyk(54%, 57.1%, 0%, 50.6%)
CIE-LABlab(26.86, 23.12, -40.45)
CIE-LCHlch(26.86, 46.59, 299.75°)
OKLaboklab(37.88% 0.0239 -0.1156)
OKLCHoklch(37.88% 0.118 281.7)
XYZxyz(6.8288, 5.0438, 20.3483)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A367E #7A7E36
analogous
#36567E #3A367E #5E367E
triadic
#3A367E #7E3A36 #367E3A
tetradic
#3A367E #7E3656 #7A7E36 #367E5E
square
#3A367E #7E3656 #7A7E36 #367E5E
split-complementary
#3A367E #7E5E36 #567E36
monochromatic
#131128 #262453 #3A367E #4E48A9 #726EC1

Accessibility & contrast

On white

10.45
#3A367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3A367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A367E
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A367E#FFFFFF#000000##FFFFFF
##3A367E1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084280
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#1E4654
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3a367e;
/* rgb */ color: rgb(58, 54, 126);
/* oklch */ color: oklch(37.9% 0.118 281.7);
Tailwind
colors: {
  custom: {
    50: '#766da4',
    500: '#3a367e',
    950: '#000000',
  },
}
SCSS
$custom: #3a367e;
$custom-light: #766da4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a367e",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 243.333,
    "s": 40,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37882,
    "c": 0.11809,
    "h": 281.7
  },
  "luminance": 0.05044
}

Semantic roles & 50–950 ramp

primary
#3A367E
secondary
#A6A967
accent
#D058C9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3A367E

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

Preview Lab → · Contrast checker → · Palette generator →

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