#3B3FAF#3B3FAF

#3B3FAF is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.174 H 274.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#3B3FAF
RGBrgb(59, 63, 175)
HSLhsl(238, 50%, 46%)
HSVhsv(238, 66%, 69%)
CMYKcmyk(66.3%, 64%, 0%, 31.4%)
CIE-LABlab(33.09, 34.38, -60.27)
CIE-LCHlch(33.09, 69.39, 299.70°)
OKLaboklab(43.72% 0.015 -0.1738)
OKLCHoklch(43.72% 0.174 274.9)
XYZxyz(11.3165, 7.5790, 41.4157)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3FAF #AFAB3B
analogous
#3B79AF #3B3FAF #713BAF
triadic
#3B3FAF #AF3B3F #3FAF3B
tetradic
#3B3FAF #AF3B79 #AFAB3B #3BAF71
square
#3B3FAF #AF3B79 #AFAB3B #3BAF71
split-complementary
#3B3FAF #AF713B #79AF3B
monochromatic
#1C1E53 #2C2F81 #3B3FAF #5E62C9 #8C8FD8

Accessibility & contrast

On white

8.35
#3B3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3B3FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3FAF
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3FAF#FFFFFF#000000##FFFFFF
##3B3FAF1.008.352.528.35
#FFFFFF8.351.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3b3faf;
/* rgb */ color: rgb(59, 63, 175);
/* oklch */ color: oklch(43.7% 0.174 274.9);
Tailwind
colors: {
  custom: {
    50: '#7f74c8',
    500: '#3b3faf',
    950: '#000000',
  },
}
SCSS
$custom: #3b3faf;
$custom-light: #7f74c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3faf",
  "rgb": {
    "r": 59,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 237.931,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4372,
    "c": 0.17446,
    "h": 274.9
  },
  "luminance": 0.0758
}

Semantic roles & 50–950 ramp

primary
#3B3FAF
secondary
#C3C183
accent
#D44FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3B3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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