#3A3EAF#3A3EAF

#3A3EAF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.176 H 274.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#3A3EAF
RGBrgb(58, 62, 175)
HSLhsl(238, 50%, 46%)
HSVhsv(238, 67%, 69%)
CMYKcmyk(66.9%, 64.6%, 0%, 31.4%)
CIE-LABlab(32.79, 34.87, -60.77)
CIE-LCHlch(32.79, 70.06, 299.84°)
OKLaboklab(43.48% 0.0146 -0.1753)
OKLCHoklch(43.48% 0.176 274.8)
XYZxyz(11.2029, 7.4389, 41.3946)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EAF #AFAB3A
analogous
#3A78AF #3A3EAF #703AAF
triadic
#3A3EAF #AF3A3E #3EAF3A
tetradic
#3A3EAF #AF3A78 #AFAB3A #3AAF70
square
#3A3EAF #AF3A78 #AFAB3A #3AAF70
split-complementary
#3A3EAF #AF703A #78AF3A
monochromatic
#1C1D53 #2B2E81 #3A3EAF #5D61C9 #8B8ED9

Accessibility & contrast

On white

8.44
#3A3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A3EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EAF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EAF#FFFFFF#000000##FFFFFF
##3A3EAF1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3eaf;
/* rgb */ color: rgb(58, 62, 175);
/* oklch */ color: oklch(43.5% 0.176 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f73c8',
    500: '#3a3eaf',
    950: '#000000',
  },
}
SCSS
$custom: #3a3eaf;
$custom-light: #7f73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3eaf",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 175
  },
  "hsl": {
    "h": 237.949,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4348,
    "c": 0.17592,
    "h": 274.8
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#3A3EAF
secondary
#C3C182
accent
#D54EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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