#3A4FCB#3A4FCB

#3A4FCB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.0% C 0.192 H 270.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3A4FCB
RGBrgb(58, 79, 203)
HSLhsl(231, 58%, 51%)
HSVhsv(231, 71%, 80%)
CMYKcmyk(71.4%, 61.1%, 0%, 20.4%)
CIE-LABlab(39.24, 33.97, -66.66)
CIE-LCHlch(39.24, 74.81, 297.00°)
OKLaboklab(48.96% 0.0007 -0.1924)
OKLCHoklch(48.96% 0.192 270.2)
XYZxyz(15.3167, 10.8017, 57.7661)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4FCB #CBB63A
analogous
#3A97CB #3A4FCB #6D3ACB
triadic
#3A4FCB #CB3A4F #4FCB3A
tetradic
#3A4FCB #CB3A97 #CBB63A #3ACB6D
square
#3A4FCB #CB3A97 #CBB63A #3ACB6D
split-complementary
#3A4FCB #CB6D3A #97CB3A
monochromatic
#1D296E #2A3B9E #3A4FCB #6A7AD8 #9BA6E5

Accessibility & contrast

On white

6.64
#3A4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3A4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4FCB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4FCB#FFFFFF#000000##FFFFFF
##3A4FCB1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3a4fcb;
/* rgb */ color: rgb(58, 79, 203);
/* oklch */ color: oklch(49.0% 0.192 270.2);
Tailwind
colors: {
  custom: {
    50: '#8380dc',
    500: '#3a4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a4fcb;
$custom-light: #8380dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4fcb",
  "rgb": {
    "r": 58,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 231.31,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.48955,
    "c": 0.19244,
    "h": 270.2
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#3A4FCB
secondary
#D0C790
accent
#CB46E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3A4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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