#3A6795#3A6795

#3A6795 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.3% C 0.089 H 250.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#3A6795
RGBrgb(58, 103, 149)
HSLhsl(210, 44%, 41%)
HSVhsv(210, 61%, 58%)
CMYKcmyk(61.1%, 30.9%, 0%, 41.6%)
CIE-LABlab(42.41, -0.82, -29.80)
CIE-LCHlch(42.41, 29.81, 268.42°)
OKLaboklab(50.27% -0.0298 -0.084)
OKLCHoklch(50.27% 0.089 250.5)
XYZxyz(12.0180, 12.7689, 30.2592)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6795 #95683A
analogous
#3A9495 #3A6795 #3B3A95
triadic
#3A6795 #953A67 #67953A
tetradic
#3A6795 #953A94 #95683A #3A953B
square
#3A6795 #953A94 #95683A #3A953B
split-complementary
#3A6795 #953B3A #94953A
monochromatic
#182A3D #294969 #3A6795 #5186BB #7DA4CC

Accessibility & contrast

On white

5.91
#3A6795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#3A6795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6795
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6795#FFFFFF#000000##FFFFFF
##3A67951.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546997
Deuteranopia (green-blind)
#476094
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3a6795;
/* rgb */ color: rgb(58, 103, 149);
/* oklch */ color: oklch(50.3% 0.089 250.5);
Tailwind
colors: {
  custom: {
    50: '#7892b4',
    500: '#3a6795',
    950: '#000000',
  },
}
SCSS
$custom: #3a6795;
$custom-light: #7892b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6795",
  "rgb": {
    "r": 58,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 210.33,
    "s": 43.961,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50267,
    "c": 0.08913,
    "h": 250.5
  },
  "luminance": 0.1277
}

Semantic roles & 50–950 ramp

primary
#3A6795
secondary
#B69675
accent
#9554D4
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #3A6795

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

Preview Lab → · Contrast checker → · Palette generator →

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