#3A4EAF#3A4EAF

#3A4EAF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.156 H 270.4°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#3A4EAF
RGBrgb(58, 78, 175)
HSLhsl(230, 50%, 46%)
HSVhsv(230, 67%, 69%)
CMYKcmyk(66.9%, 55.4%, 0%, 31.4%)
CIE-LABlab(36.82, 24.57, -54.20)
CIE-LCHlch(36.82, 59.51, 294.38°)
OKLaboklab(46.47% 0.0011 -0.1558)
OKLCHoklch(46.47% 0.156 270.4)
XYZxyz(12.2046, 9.4423, 41.7285)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4EAF #AF9B3A
analogous
#3A88AF #3A4EAF #613AAF
triadic
#3A4EAF #AF3A4E #4EAF3A
tetradic
#3A4EAF #AF3A88 #AF9B3A #3AAF61
square
#3A4EAF #AF3A88 #AF9B3A #3AAF61
split-complementary
#3A4EAF #AF613A #88AF3A
monochromatic
#1C2553 #2B3A81 #3A4EAF #5D6FC9 #8B98D9

Accessibility & contrast

On white

7.27
#3A4EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#3A4EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4EAF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4EAF#FFFFFF#000000##FFFFFF
##3A4EAF1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3a4eaf;
/* rgb */ color: rgb(58, 78, 175);
/* oklch */ color: oklch(46.5% 0.156 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e7fc8',
    500: '#3a4eaf',
    950: '#000000',
  },
}
SCSS
$custom: #3a4eaf;
$custom-light: #7e7fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4eaf",
  "rgb": {
    "r": 58,
    "g": 78,
    "b": 175
  },
  "hsl": {
    "h": 229.744,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46471,
    "c": 0.15585,
    "h": 270.4
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

primary
#3A4EAF
secondary
#C3B882
accent
#C24EDA
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3A4EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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