#3A48AF#3A48AF

#3A48AF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.164 H 272.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3A48AF
RGBrgb(58, 72, 175)
HSLhsl(233, 50%, 46%)
HSVhsv(233, 67%, 69%)
CMYKcmyk(66.9%, 58.9%, 0%, 31.4%)
CIE-LABlab(35.26, 28.47, -56.74)
CIE-LCHlch(35.26, 63.48, 296.65°)
OKLaboklab(45.3% 0.0064 -0.1634)
OKLCHoklch(45.3% 0.164 272.2)
XYZxyz(11.7976, 8.6283, 41.5928)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A48AF #AFA13A
analogous
#3A82AF #3A48AF #673AAF
triadic
#3A48AF #AF3A48 #48AF3A
tetradic
#3A48AF #AF3A82 #AFA13A #3AAF67
square
#3A48AF #AF3A82 #AFA13A #3AAF67
split-complementary
#3A48AF #AF673A #82AF3A
monochromatic
#1C2253 #2B3581 #3A48AF #5D6AC9 #8B94D9

Accessibility & contrast

On white

7.70
#3A48AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3A48AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A48AF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A48AF#FFFFFF#000000##FFFFFF
##3A48AF1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a48af;
/* rgb */ color: rgb(58, 72, 175);
/* oklch */ color: oklch(45.3% 0.164 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e7ac8',
    500: '#3a48af',
    950: '#000000',
  },
}
SCSS
$custom: #3a48af;
$custom-light: #7e7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a48af",
  "rgb": {
    "r": 58,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 232.821,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.16352,
    "h": 272.2
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#3A48AF
secondary
#C3BB82
accent
#C94EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3A48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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