#3A4366#3A4366

#3A4366 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.061 H 272.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3A4366
RGBrgb(58, 67, 102)
HSLhsl(228, 28%, 31%)
HSVhsv(228, 43%, 40%)
CMYKcmyk(43.1%, 34.3%, 0%, 60%)
CIE-LABlab(29.09, 6.38, -21.69)
CIE-LCHlch(29.09, 22.60, 286.38°)
OKLaboklab(39.1% 0.0025 -0.0607)
OKLCHoklch(39.1% 0.061 272.3)
XYZxyz(6.1496, 5.8729, 13.3773)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4366 #665D3A
analogous
#3A5966 #3A4366 #473A66
triadic
#3A4366 #663A43 #43663A
tetradic
#3A4366 #663A59 #665D3A #3A6647
square
#3A4366 #663A59 #665D3A #3A6647
split-complementary
#3A4366 #66473A #59663A
monochromatic
#0E1018 #24293F #3A4366 #505D8D #6E7BAC

Accessibility & contrast

On white

9.66
#3A4366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3A4366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4366
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4366#FFFFFF#000000##FFFFFF
##3A43661.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374767
Deuteranopia (green-blind)
#334365
Tritanopia (blue-blind)
#2C4A50
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3a4366;
/* rgb */ color: rgb(58, 67, 102);
/* oklch */ color: oklch(39.1% 0.061 272.3);
Tailwind
colors: {
  custom: {
    50: '#727792',
    500: '#3a4366',
    950: '#000000',
  },
}
SCSS
$custom: #3a4366;
$custom-light: #727792;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4366",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 102
  },
  "hsl": {
    "h": 227.727,
    "s": 27.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39098,
    "c": 0.06074,
    "h": 272.3
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#3A4366
secondary
#968C66
accent
#B064C4
background
#F7F7F8
surface
#EDEDF0
border
#C8C8CB
text
#08080D
muted
#7B7B7D

Preview Lab

Preview with #3A4366

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

Preview Lab → · Contrast checker → · Palette generator →

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