#3B388E#3B388E

#3B388E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.138 H 279.6°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#3B388E
RGBrgb(59, 56, 142)
HSLhsl(242, 43%, 39%)
HSVhsv(242, 61%, 56%)
CMYKcmyk(58.5%, 60.6%, 0%, 44.3%)
CIE-LABlab(28.67, 27.48, -47.48)
CIE-LCHlch(28.67, 54.85, 300.06°)
OKLaboklab(39.63% 0.023 -0.1363)
OKLCHoklch(39.63% 0.138 279.6)
XYZxyz(8.0988, 5.7106, 26.2614)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B388E #8B8E38
analogous
#38608E #3B388E #66388E
triadic
#3B388E #8E3B38 #388E3B
tetradic
#3B388E #8E3860 #8B8E38 #388E66
square
#3B388E #8E3860 #8B8E38 #388E66
split-complementary
#3B388E #8E6638 #608E38
monochromatic
#171536 #292762 #3B388E #4F4BB8 #7A77C9

Accessibility & contrast

On white

9.80
#3B388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3B388E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B388E
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B388E#FFFFFF#000000##FFFFFF
##3B388E1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#0C4D5D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b388e;
/* rgb */ color: rgb(59, 56, 142);
/* oklch */ color: oklch(39.6% 0.138 279.6);
Tailwind
colors: {
  custom: {
    50: '#796fb0',
    500: '#3b388e',
    950: '#000000',
  },
}
SCSS
$custom: #3b388e;
$custom-light: #796fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b388e",
  "rgb": {
    "r": 59,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 242.093,
    "s": 43.434,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.1382,
    "h": 279.6
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#3B388E
secondary
#B0B26F
accent
#D355CF
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#0A0710
muted
#7C7A7F

Preview Lab

Preview with #3B388E

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

Preview Lab → · Contrast checker → · Palette generator →

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