#3A3FCB#3A3FCB

#3A3FCB is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.2% C 0.211 H 273.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3A3FCB
RGBrgb(58, 63, 203)
HSLhsl(238, 58%, 51%)
HSVhsv(238, 71%, 80%)
CMYKcmyk(71.4%, 69%, 0%, 20.4%)
CIE-LABlab(35.53, 43.82, -72.75)
CIE-LCHlch(35.53, 84.93, 301.06°)
OKLaboklab(46.24% 0.0111 -0.2104)
OKLCHoklch(46.24% 0.211 273)
XYZxyz(14.2983, 8.7649, 57.4266)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3FCB #CBC63A
analogous
#3A87CB #3A3FCB #7D3ACB
triadic
#3A3FCB #CB3A3F #3FCB3A
tetradic
#3A3FCB #CB3A87 #CBC63A #3ACB7D
square
#3A3FCB #CB3A87 #CBC63A #3ACB7D
split-complementary
#3A3FCB #CB7D3A #87CB3A
monochromatic
#1D206E #2A2E9E #3A3FCB #6A6ED8 #9B9DE5

Accessibility & contrast

On white

7.63
#3A3FCB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3A3FCB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3FCB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3FCB#FFFFFF#000000##FFFFFF
##3A3FCB1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACF
Deuteranopia (green-blind)
#004DC8
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3a3fcb;
/* rgb */ color: rgb(58, 63, 203);
/* oklch */ color: oklch(46.2% 0.211 273.0);
Tailwind
colors: {
  custom: {
    50: '#8575dc',
    500: '#3a3fcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3fcb;
$custom-light: #8575dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3fcb",
  "rgb": {
    "r": 58,
    "g": 63,
    "b": 203
  },
  "hsl": {
    "h": 237.931,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46239,
    "c": 0.21065,
    "h": 273
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#3A3FCB
secondary
#D0CE90
accent
#DC46E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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