#3A5E95#3A5E95

#3A5E95 is a mid, moderate blue. Relative luminance 0.111; OKLCH L 48.1% C 0.098 H 258.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#3A5E95
RGBrgb(58, 94, 149)
HSLhsl(216, 44%, 41%)
HSVhsv(216, 61%, 58%)
CMYKcmyk(61.1%, 36.9%, 0%, 41.6%)
CIE-LABlab(39.70, 4.81, -34.07)
CIE-LCHlch(39.70, 34.40, 278.03°)
OKLaboklab(48.15% -0.0194 -0.0965)
OKLCHoklch(48.15% 0.098 258.6)
XYZxyz(11.1705, 11.0739, 29.9767)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5E95 #95713A
analogous
#3A8B95 #3A5E95 #443A95
triadic
#3A5E95 #953A5E #5E953A
tetradic
#3A5E95 #953A8B #95713A #3A9544
square
#3A5E95 #953A8B #95713A #3A9544
split-complementary
#3A5E95 #95443A #8B953A
monochromatic
#18263D #294269 #3A5E95 #517BBB #7D9CCC

Accessibility & contrast

On white

6.53
#3A5E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#3A5E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5E95
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5E95#FFFFFF#000000##FFFFFF
##3A5E951.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476297
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#006A72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3a5e95;
/* rgb */ color: rgb(58, 94, 149);
/* oklch */ color: oklch(48.1% 0.098 258.6);
Tailwind
colors: {
  custom: {
    50: '#788bb4',
    500: '#3a5e95',
    950: '#000000',
  },
}
SCSS
$custom: #3a5e95;
$custom-light: #788bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5e95",
  "rgb": {
    "r": 58,
    "g": 94,
    "b": 149
  },
  "hsl": {
    "h": 216.264,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48149,
    "c": 0.09845,
    "h": 258.6
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#3A5E95
secondary
#B69C75
accent
#A154D4
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #3A5E95

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

Preview Lab → · Contrast checker → · Palette generator →

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