#3B397D#3B397D

#3B397D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 38.5% C 0.112 H 281.1°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#3B397D
RGBrgb(59, 57, 125)
HSLhsl(242, 37%, 36%)
HSVhsv(242, 54%, 49%)
CMYKcmyk(52.8%, 54.4%, 0%, 51%)
CIE-LABlab(27.67, 21.01, -38.51)
CIE-LCHlch(27.67, 43.87, 298.62°)
OKLaboklab(38.49% 0.0215 -0.1099)
OKLCHoklch(38.49% 0.112 281.1)
XYZxyz(6.9673, 5.3363, 20.0609)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B397D #7B7D39
analogous
#39597D #3B397D #5D397D
triadic
#3B397D #7D3B39 #397D3B
tetradic
#3B397D #7D3959 #7B7D39 #397D5D
square
#3B397D #7D3959 #7B7D39 #397D5D
split-complementary
#3B397D #7D5D39 #597D39
monochromatic
#131329 #272653 #3B397D #4F4CA7 #7472BF

Accessibility & contrast

On white

10.16
#3B397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3B397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B397D
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B397D#FFFFFF#000000##FFFFFF
##3B397D1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15447F
Deuteranopia (green-blind)
#0E3F7C
Tritanopia (blue-blind)
#214855
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3b397d;
/* rgb */ color: rgb(59, 57, 125);
/* oklch */ color: oklch(38.5% 0.112 281.1);
Tailwind
colors: {
  custom: {
    50: '#766fa3',
    500: '#3b397d',
    950: '#000000',
  },
}
SCSS
$custom: #3b397d;
$custom-light: #766fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b397d",
  "rgb": {
    "r": 59,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 241.765,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38487,
    "c": 0.11197,
    "h": 281.1
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#3B397D
secondary
#A6A86A
accent
#CD5ACA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#09070F
muted
#7B7A7F

Preview Lab

Preview with #3B397D

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

Preview Lab → · Contrast checker → · Palette generator →

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