#3A3EBF#3A3EBF

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

Color values

HEX#3A3EBF
RGBrgb(58, 62, 191)
HSLhsl(238, 53%, 49%)
HSVhsv(238, 70%, 75%)
CMYKcmyk(69.6%, 67.5%, 0%, 25.1%)
CIE-LABlab(34.20, 40.36, -67.92)
CIE-LCHlch(34.20, 79.00, 300.72°)
OKLaboklab(44.94% 0.0131 -0.1962)
OKLCHoklch(44.94% 0.197 273.8)
XYZxyz(12.8684, 8.1052, 50.1664)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EBF #BFBB3A
analogous
#3A81BF #3A3EBF #793ABF
triadic
#3A3EBF #BF3A3E #3EBF3A
tetradic
#3A3EBF #BF3A81 #BFBB3A #3ABF79
square
#3A3EBF #BF3A81 #BFBB3A #3ABF79
split-complementary
#3A3EBF #BF793A #81BF3A
monochromatic
#1D2061 #2C2F90 #3A3EBF #6669D0 #9597DF

Accessibility & contrast

On white

8.01
#3A3EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3A3EBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EBF
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EBF#FFFFFF#000000##FFFFFF
##3A3EBF1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#004ABD
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3ebf;
/* rgb */ color: rgb(58, 62, 191);
/* oklch */ color: oklch(44.9% 0.197 273.8);
Tailwind
colors: {
  custom: {
    50: '#8274d3',
    500: '#3a3ebf',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ebf;
$custom-light: #8274d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ebf",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 191
  },
  "hsl": {
    "h": 238.195,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44944,
    "c": 0.19668,
    "h": 273.8
  },
  "luminance": 0.08106
}

Semantic roles & 50–950 ramp

primary
#3A3EBF
secondary
#CAC88B
accent
#D84BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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