#3A4DC0#3A4DC0

#3A4DC0 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.7% C 0.180 H 270.7°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#3A4DC0
RGBrgb(58, 77, 192)
HSLhsl(231, 54%, 49%)
HSVhsv(231, 70%, 75%)
CMYKcmyk(69.8%, 59.9%, 0%, 24.7%)
CIE-LABlab(37.86, 31.32, -62.51)
CIE-LCHlch(37.86, 69.92, 296.61°)
OKLaboklab(47.66% 0.0023 -0.1803)
OKLCHoklch(47.66% 0.18 270.7)
XYZxyz(13.9100, 10.0117, 51.0583)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DC0 #C0AD3A
analogous
#3A90C0 #3A4DC0 #6A3AC0
triadic
#3A4DC0 #C03A4D #4DC03A
tetradic
#3A4DC0 #C03A90 #C0AD3A #3AC06A
square
#3A4DC0 #C03A90 #C0AD3A #3AC06A
split-complementary
#3A4DC0 #C06A3A #90C03A
monochromatic
#1E2762 #2C3A91 #3A4DC0 #6675D1 #95A0DF

Accessibility & contrast

On white

6.99
#3A4DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#3A4DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4DC0
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DC0#FFFFFF#000000##FFFFFF
##3A4DC01.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4dc0;
/* rgb */ color: rgb(58, 77, 192);
/* oklch */ color: oklch(47.7% 0.180 270.7);
Tailwind
colors: {
  custom: {
    50: '#817ed4',
    500: '#3a4dc0',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dc0;
$custom-light: #817ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dc0",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 192
  },
  "hsl": {
    "h": 231.493,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.18032,
    "h": 270.7
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#3A4DC0
secondary
#CAC28B
accent
#C84BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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