#3A6FB7#3A6FB7

#3A6FB7 is a mid, vivid cyan. Relative luminance 0.157; OKLCH L 54.1% C 0.127 H 256.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3A6FB7
RGBrgb(58, 111, 183)
HSLhsl(215, 52%, 47%)
HSVhsv(215, 68%, 72%)
CMYKcmyk(68.3%, 39.3%, 0%, 28.2%)
CIE-LABlab(46.56, 6.27, -43.26)
CIE-LCHlch(46.56, 43.72, 278.25°)
OKLaboklab(54.09% -0.0291 -0.1232)
OKLCHoklch(54.09% 0.127 256.7)
XYZxyz(15.9735, 15.6857, 46.9764)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A6FB7 #B7823A
analogous
#3AAEB7 #3A6FB7 #443AB7
triadic
#3A6FB7 #B73A6F #6FB73A
tetradic
#3A6FB7 #B73AAE #B7823A #3AB744
square
#3A6FB7 #B73AAE #B7823A #3AB744
split-complementary
#3A6FB7 #B7443A #AEB73A
monochromatic
#1D375A #2B5389 #3A6FB7 #618FCD #90B0DC

Accessibility & contrast

On white

5.08
#3A6FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3A6FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A6FB7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A6FB7#FFFFFF#000000##FFFFFF
##3A6FB71.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E75BA
Deuteranopia (green-blind)
#3B69B6
Tritanopia (blue-blind)
#00808A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3a6fb7;
/* rgb */ color: rgb(58, 111, 183);
/* oklch */ color: oklch(54.1% 0.127 256.7);
Tailwind
colors: {
  custom: {
    50: '#7e97cd',
    500: '#3a6fb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a6fb7;
$custom-light: #7e97cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a6fb7",
  "rgb": {
    "r": 58,
    "g": 111,
    "b": 183
  },
  "hsl": {
    "h": 214.56,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.12661,
    "h": 256.7
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#3A6FB7
secondary
#C7AB86
accent
#9F4CDB
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3A6FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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