#3A3DAF#3A3DAF

#3A3DAF is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.177 H 275.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3A3DAF
RGBrgb(58, 61, 175)
HSLhsl(238, 50%, 46%)
HSVhsv(238, 67%, 69%)
CMYKcmyk(66.9%, 65.1%, 0%, 31.4%)
CIE-LABlab(32.55, 35.49, -61.16)
CIE-LCHlch(32.55, 70.71, 300.13°)
OKLaboklab(43.31% 0.0154 -0.1764)
OKLCHoklch(43.31% 0.177 275)
XYZxyz(11.1490, 7.3312, 41.3766)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DAF #AFAC3A
analogous
#3A77AF #3A3DAF #723AAF
triadic
#3A3DAF #AF3A3D #3DAF3A
tetradic
#3A3DAF #AF3A77 #AFAC3A #3AAF72
square
#3A3DAF #AF3A77 #AFAC3A #3AAF72
split-complementary
#3A3DAF #AF723A #77AF3A
monochromatic
#1C1D53 #2B2D81 #3A3DAF #5D60C9 #8B8DD9

Accessibility & contrast

On white

8.51
#3A3DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3A3DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DAF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DAF#FFFFFF#000000##FFFFFF
##3A3DAF1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3daf;
/* rgb */ color: rgb(58, 61, 175);
/* oklch */ color: oklch(43.3% 0.177 275.0);
Tailwind
colors: {
  custom: {
    50: '#7f73c8',
    500: '#3a3daf',
    950: '#000000',
  },
}
SCSS
$custom: #3a3daf;
$custom-light: #7f73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3daf",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 175
  },
  "hsl": {
    "h": 238.462,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43307,
    "c": 0.17712,
    "h": 275
  },
  "luminance": 0.07332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A3DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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