#3F6797#3F6797

#3F6797 is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.6% C 0.089 H 253.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#3F6797
RGBrgb(63, 103, 151)
HSLhsl(213, 41%, 42%)
HSVhsv(213, 58%, 59%)
CMYKcmyk(58.3%, 31.8%, 0%, 40.8%)
CIE-LABlab(42.75, 0.93, -30.45)
CIE-LCHlch(42.75, 30.47, 271.75°)
OKLaboklab(50.63% -0.0248 -0.0858)
OKLCHoklch(50.63% 0.089 253.9)
XYZxyz(12.4841, 12.9906, 31.1217)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6797 #976F3F
analogous
#3F9397 #3F6797 #433F97
triadic
#3F6797 #973F67 #67973F
tetradic
#3F6797 #973F93 #976F3F #3F9743
square
#3F6797 #973F93 #976F3F #3F9743
split-complementary
#3F6797 #97433F #93973F
monochromatic
#1B2C41 #2D4A6C #3F6797 #5985BA #85A5CC

Accessibility & contrast

On white

5.84
#3F6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3F6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6797
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6797#FFFFFF#000000##FFFFFF
##3F67971.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A99
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3f6797;
/* rgb */ color: rgb(63, 103, 151);
/* oklch */ color: oklch(50.6% 0.089 253.9);
Tailwind
colors: {
  custom: {
    50: '#7b92b6',
    500: '#3f6797',
    950: '#000000',
  },
}
SCSS
$custom: #3f6797;
$custom-light: #7b92b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6797",
  "rgb": {
    "r": 63,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 212.727,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50627,
    "c": 0.08934,
    "h": 253.9
  },
  "luminance": 0.12992
}

Semantic roles & 50–950 ramp

primary
#3F6797
secondary
#B69C7C
accent
#9957D1
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #3F6797

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

Preview Lab → · Contrast checker → · Palette generator →

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