#3F7AA2#3F7AA2

#3F7AA2 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.088 H 240.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#3F7AA2
RGBrgb(63, 122, 162)
HSLhsl(204, 44%, 44%)
HSVhsv(204, 61%, 64%)
CMYKcmyk(61.1%, 24.7%, 0%, 36.5%)
CIE-LABlab(48.99, -6.77, -27.21)
CIE-LCHlch(48.99, 28.04, 256.02°)
OKLaboklab(55.71% -0.0432 -0.0763)
OKLCHoklch(55.71% 0.088 240.5)
XYZxyz(15.5286, 17.5830, 36.7509)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7AA2 #A2673F
analogous
#3FA299 #3F7AA2 #3F49A2
triadic
#3F7AA2 #A23F7A #7AA23F
tetradic
#3F7AA2 #993FA2 #A2673F #49A23F
square
#3F7AA2 #993FA2 #A2673F #49A23F
split-complementary
#3F7AA2 #A23F49 #A2993F
monochromatic
#1D384A #2E5976 #3F7AA2 #5E99C0 #8AB5D1

Accessibility & contrast

On white

4.65
#3F7AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#3F7AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7AA2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7AA2#FFFFFF#000000##FFFFFF
##3F7AA21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687AA4
Deuteranopia (green-blind)
#5A70A1
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3f7aa2;
/* rgb */ color: rgb(63, 122, 162);
/* oklch */ color: oklch(55.7% 0.088 240.5);
Tailwind
colors: {
  custom: {
    50: '#7da0bd',
    500: '#3f7aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3f7aa2;
$custom-light: #7da0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7aa2",
  "rgb": {
    "r": 63,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 204.242,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55708,
    "c": 0.08769,
    "h": 240.5
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#3F7AA2
secondary
#BC9981
accent
#8854D4
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #3F7AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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