#3A3FBD#3A3FBD

#3A3FBD is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.9% C 0.193 H 273.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3A3FBD
RGBrgb(58, 63, 189)
HSLhsl(238, 53%, 48%)
HSVhsv(238, 69%, 74%)
CMYKcmyk(69.3%, 66.7%, 0%, 25.9%)
CIE-LABlab(34.25, 39.07, -66.67)
CIE-LCHlch(34.25, 77.27, 300.37°)
OKLaboklab(44.92% 0.0127 -0.1926)
OKLCHoklch(44.92% 0.193 273.8)
XYZxyz(12.7047, 8.1275, 49.0335)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FBD #BDB83A
analogous
#3A80BD #3A3FBD #763ABD
triadic
#3A3FBD #BD3A3F #3FBD3A
tetradic
#3A3FBD #BD3A80 #BDB83A #3ABD76
square
#3A3FBD #BD3A80 #BDB83A #3ABD76
split-complementary
#3A3FBD #BD763A #80BD3A
monochromatic
#1D205F #2C2F8E #3A3FBD #6569D0 #9396DE

Accessibility & contrast

On white

8.00
#3A3FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3A3FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FBD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FBD#FFFFFF#000000##FFFFFF
##3A3FBD1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3fbd;
/* rgb */ color: rgb(58, 63, 189);
/* oklch */ color: oklch(44.9% 0.193 273.8);
Tailwind
colors: {
  custom: {
    50: '#8274d2',
    500: '#3a3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fbd;
$custom-light: #8274d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fbd",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 237.71,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44922,
    "c": 0.193,
    "h": 273.8
  },
  "luminance": 0.08129
}

Semantic roles & 50–950 ramp

primary
#3A3FBD
secondary
#C9C78A
accent
#D74BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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