#3A3EBC#3A3EBC

#3A3EBC is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.7% C 0.193 H 274.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3A3EBC
RGBrgb(58, 62, 188)
HSLhsl(238, 53%, 48%)
HSVhsv(238, 69%, 74%)
CMYKcmyk(69.1%, 67%, 0%, 26.3%)
CIE-LABlab(33.93, 39.34, -66.60)
CIE-LCHlch(33.93, 77.35, 300.57°)
OKLaboklab(44.67% 0.0134 -0.1924)
OKLCHoklch(44.67% 0.193 274)
XYZxyz(12.5416, 7.9745, 48.4455)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EBC #BCB83A
analogous
#3A7FBC #3A3EBC #773ABC
triadic
#3A3EBC #BC3A3E #3EBC3A
tetradic
#3A3EBC #BC3A7F #BCB83A #3ABC77
square
#3A3EBC #BC3A7F #BCB83A #3ABC77
split-complementary
#3A3EBC #BC773A #7FBC3A
monochromatic
#1D1F5E #2C2F8D #3A3EBC #6467CF #9395DE

Accessibility & contrast

On white

8.09
#3A3EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3A3EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EBC
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EBC#FFFFFF#000000##FFFFFF
##3A3EBC1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3ebc;
/* rgb */ color: rgb(58, 62, 188);
/* oklch */ color: oklch(44.7% 0.193 274.0);
Tailwind
colors: {
  custom: {
    50: '#8274d1',
    500: '#3a3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ebc;
$custom-light: #8274d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ebc",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 238.154,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44665,
    "c": 0.19285,
    "h": 274
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#3A3EBC
secondary
#C9C789
accent
#D84CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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