#3A43AF#3A43AF

#3A43AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.170 H 273.6°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#3A43AF
RGBrgb(58, 67, 175)
HSLhsl(235, 50%, 46%)
HSVhsv(235, 67%, 69%)
CMYKcmyk(66.9%, 61.7%, 0%, 31.4%)
CIE-LABlab(34.00, 31.69, -58.79)
CIE-LCHlch(34.00, 66.79, 298.33°)
OKLaboklab(44.37% 0.0106 -0.1695)
OKLCHoklch(44.37% 0.17 273.6)
XYZxyz(11.4874, 8.0080, 41.4894)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A43AF #AFA63A
analogous
#3A7DAF #3A43AF #6C3AAF
triadic
#3A43AF #AF3A43 #43AF3A
tetradic
#3A43AF #AF3A7D #AFA63A #3AAF6C
square
#3A43AF #AF3A7D #AFA63A #3AAF6C
split-complementary
#3A43AF #AF6C3A #7DAF3A
monochromatic
#1C2053 #2B3181 #3A43AF #5D65C9 #8B91D9

Accessibility & contrast

On white

8.07
#3A43AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A43AF
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A43AF#FFFFFF#000000##FFFFFF
##3A43AF1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a43af;
/* rgb */ color: rgb(58, 67, 175);
/* oklch */ color: oklch(44.4% 0.170 273.6);
Tailwind
colors: {
  custom: {
    50: '#7e77c8',
    500: '#3a43af',
    950: '#000000',
  },
}
SCSS
$custom: #3a43af;
$custom-light: #7e77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a43af",
  "rgb": {
    "r": 58,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 235.385,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.44371,
    "c": 0.16979,
    "h": 273.6
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#3A43AF
secondary
#C3BE82
accent
#CF4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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