#3A366E#3A366E

#3A366E is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.094 H 284.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#3A366E
RGBrgb(58, 54, 110)
HSLhsl(244, 34%, 32%)
HSVhsv(244, 51%, 43%)
CMYKcmyk(47.3%, 50.9%, 0%, 56.9%)
CIE-LABlab(25.75, 17.75, -32.08)
CIE-LCHlch(25.75, 36.66, 298.96°)
OKLaboklab(36.7% 0.0227 -0.091)
OKLCHoklch(36.7% 0.094 284)
XYZxyz(5.8777, 4.6634, 15.3393)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A366E #6A6E36
analogous
#364E6E #3A366E #56366E
triadic
#3A366E #6E3A36 #366E3A
tetradic
#3A366E #6E364E #6A6E36 #366E56
square
#3A366E #6E364E #6A6E36 #366E56
split-complementary
#3A366E #6E5636 #4E6E36
monochromatic
#0F0E1C #242245 #3A366E #504A97 #6E69B5

Accessibility & contrast

On white

10.87
#3A366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3A366E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A366E
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A366E#FFFFFF#000000##FFFFFF
##3A366E1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#1C3B6D
Tritanopia (blue-blind)
#29424C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a366e;
/* rgb */ color: rgb(58, 54, 110);
/* oklch */ color: oklch(36.7% 0.094 284.0);
Tailwind
colors: {
  custom: {
    50: '#746d98',
    500: '#3a366e',
    950: '#000000',
  },
}
SCSS
$custom: #3a366e;
$custom-light: #746d98;
$custom-dark: #000000;
JSON
{
  "hex": "#3a366e",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 244.286,
    "s": 34.146,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36699,
    "c": 0.09383,
    "h": 284
  },
  "luminance": 0.04664
}

Semantic roles & 50–950 ramp

primary
#3A366E
secondary
#9A9E62
accent
#CA5EC2
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #3A366E

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

Preview Lab → · Contrast checker → · Palette generator →

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