#3A3FBC#3A3FBC

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

Color values

HEX#3A3FBC
RGBrgb(58, 63, 188)
HSLhsl(238, 53%, 48%)
HSVhsv(238, 69%, 74%)
CMYKcmyk(69.1%, 66.5%, 0%, 26.3%)
CIE-LABlab(34.16, 38.73, -66.22)
CIE-LCHlch(34.16, 76.72, 300.32°)
OKLaboklab(44.83% 0.0127 -0.1913)
OKLCHoklch(44.83% 0.192 273.8)
XYZxyz(12.5965, 8.0842, 48.4638)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FBC #BCB73A
analogous
#3A80BC #3A3FBC #763ABC
triadic
#3A3FBC #BC3A3F #3FBC3A
tetradic
#3A3FBC #BC3A80 #BCB73A #3ABC76
square
#3A3FBC #BC3A80 #BCB73A #3ABC76
split-complementary
#3A3FBC #BC763A #80BC3A
monochromatic
#1D205E #2C2F8D #3A3FBC #6468CF #9396DE

Accessibility & contrast

On white

8.02
#3A3FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3FBC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FBC#FFFFFF#000000##FFFFFF
##3A3FBC1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.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: #3a3fbc;
/* rgb */ color: rgb(58, 63, 188);
/* oklch */ color: oklch(44.8% 0.192 273.8);
Tailwind
colors: {
  custom: {
    50: '#8174d1',
    500: '#3a3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fbc;
$custom-light: #8174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fbc",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 237.692,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4483,
    "c": 0.19171,
    "h": 273.8
  },
  "luminance": 0.08085
}

Semantic roles & 50–950 ramp

primary
#3A3FBC
secondary
#C9C689
accent
#D74CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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