#3A368D#3A368D

#3A368D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.140 H 279.8°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3A368D
RGBrgb(58, 54, 141)
HSLhsl(243, 45%, 38%)
HSVhsv(243, 62%, 55%)
CMYKcmyk(58.9%, 61.7%, 0%, 44.7%)
CIE-LABlab(28.01, 28.24, -47.94)
CIE-LCHlch(28.01, 55.64, 300.50°)
OKLaboklab(39.1% 0.0238 -0.1377)
OKLCHoklch(39.1% 0.14 279.8)
XYZxyz(7.8703, 5.4604, 25.8334)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A368D #898D36
analogous
#365D8D #3A368D #65368D
triadic
#3A368D #8D3A36 #368D3A
tetradic
#3A368D #8D365D #898D36 #368D65
square
#3A368D #8D365D #898D36 #368D65
split-complementary
#3A368D #8D6536 #5D8D36
monochromatic
#161434 #282561 #3A368D #4D47B9 #7874CA

Accessibility & contrast

On white

10.04
#3A368D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A368D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A368D#FFFFFF#000000##FFFFFF
##3A368D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#094B5C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a368d;
/* rgb */ color: rgb(58, 54, 141);
/* oklch */ color: oklch(39.1% 0.140 279.8);
Tailwind
colors: {
  custom: {
    50: '#796daf',
    500: '#3a368d',
    950: '#000000',
  },
}
SCSS
$custom: #3a368d;
$custom-light: #796daf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a368d",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 242.759,
    "s": 44.615,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.13971,
    "h": 279.8
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#3A368D
secondary
#AFB26D
accent
#D453CE
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3A368D

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

Preview Lab → · Contrast checker → · Palette generator →

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