#3A366B#3A366B

#3A366B is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.089 H 284.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3A366B
RGBrgb(58, 54, 107)
HSLhsl(245, 33%, 32%)
HSVhsv(245, 50%, 42%)
CMYKcmyk(45.8%, 49.5%, 0%, 58%)
CIE-LABlab(25.56, 16.77, -30.46)
CIE-LCHlch(25.56, 34.77, 298.83°)
OKLaboklab(36.49% 0.0223 -0.0863)
OKLCHoklch(36.49% 0.089 284.5)
XYZxyz(5.7172, 4.5992, 14.4936)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A366B #676B36
analogous
#364D6B #3A366B #55366B
triadic
#3A366B #6B3A36 #366B3A
tetradic
#3A366B #6B364D #676B36 #366B55
square
#3A366B #6B364D #676B36 #366B55
split-complementary
#3A366B #6B5536 #4D6B36
monochromatic
#0E0D1A #242142 #3A366B #504B94 #6E68B3

Accessibility & contrast

On white

10.94
#3A366B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3A366B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A366B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A366B#FFFFFF#000000##FFFFFF
##3A366B1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#1F3B6A
Tritanopia (blue-blind)
#2B414B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a366b;
/* rgb */ color: rgb(58, 54, 107);
/* oklch */ color: oklch(36.5% 0.089 284.5);
Tailwind
colors: {
  custom: {
    50: '#736d96',
    500: '#3a366b',
    950: '#000000',
  },
}
SCSS
$custom: #3a366b;
$custom-light: #736d96;
$custom-dark: #000000;
JSON
{
  "hex": "#3a366b",
  "rgb": {
    "r": 58,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 244.528,
    "s": 32.919,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36492,
    "c": 0.08914,
    "h": 284.5
  },
  "luminance": 0.04599
}

Semantic roles & 50–950 ramp

primary
#3A366B
secondary
#979C61
accent
#C95FC1
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070D
muted
#7B7A7E

Preview Lab

Preview with #3A366B

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

Preview Lab → · Contrast checker → · Palette generator →

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