#3A368C#3A368C

#3A368C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.138 H 279.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3A368C
RGBrgb(58, 54, 140)
HSLhsl(243, 44%, 38%)
HSVhsv(243, 61%, 55%)
CMYKcmyk(58.6%, 61.4%, 0%, 45.1%)
CIE-LABlab(27.93, 27.90, -47.45)
CIE-LCHlch(27.93, 55.04, 300.45°)
OKLaboklab(39.01% 0.0238 -0.1362)
OKLCHoklch(39.01% 0.138 279.9)
XYZxyz(7.7962, 5.4308, 25.4433)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A368C #888C36
analogous
#365D8C #3A368C #65368C
triadic
#3A368C #8C3A36 #368C3A
tetradic
#3A368C #8C365D #888C36 #368C65
square
#3A368C #8C365D #888C36 #368C65
split-complementary
#3A368C #8C6536 #5D8C36
monochromatic
#151434 #282560 #3A368C #4C47B8 #7773C9

Accessibility & contrast

On white

10.07
#3A368C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A368C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A368C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A368C#FFFFFF#000000##FFFFFF
##3A368C1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003F8A
Tritanopia (blue-blind)
#0B4B5B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a368c;
/* rgb */ color: rgb(58, 54, 140);
/* oklch */ color: oklch(39.0% 0.138 279.9);
Tailwind
colors: {
  custom: {
    50: '#796dae',
    500: '#3a368c',
    950: '#000000',
  },
}
SCSS
$custom: #3a368c;
$custom-light: #796dae;
$custom-dark: #000000;
JSON
{
  "hex": "#3a368c",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 140
  },
  "hsl": {
    "h": 242.791,
    "s": 44.33,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39012,
    "c": 0.1383,
    "h": 279.9
  },
  "luminance": 0.05431
}

Semantic roles & 50–950 ramp

primary
#3A368C
secondary
#AEB26C
accent
#D454CE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3A368C

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

Preview Lab → · Contrast checker → · Palette generator →

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