#3A7FA1#3A7FA1

#3A7FA1 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.087 H 232.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3A7FA1
RGBrgb(58, 127, 161)
HSLhsl(200, 47%, 43%)
HSVhsv(200, 64%, 63%)
CMYKcmyk(64%, 21.1%, 0%, 36.9%)
CIE-LABlab(50.28, -10.95, -24.64)
CIE-LCHlch(50.28, 26.96, 246.04°)
OKLaboklab(56.66% -0.0527 -0.069)
OKLCHoklch(56.66% 0.087 232.6)
XYZxyz(15.7648, 18.6499, 36.4803)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FA1 #A15C3A
analogous
#3AA18F #3A7FA1 #3A4BA1
triadic
#3A7FA1 #A13A7F #7FA13A
tetradic
#3A7FA1 #8F3AA1 #A15C3A #4BA13A
square
#3A7FA1 #8F3AA1 #A15C3A #4BA13A
split-complementary
#3A7FA1 #A13A4B #A18F3A
monochromatic
#1A3847 #2A5C74 #3A7FA1 #569EC2 #83B8D2

Accessibility & contrast

On white

4.44
#3A7FA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#3A7FA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FA1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FA1#FFFFFF#000000##000000
##3A7FA11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7EA3
Deuteranopia (green-blind)
#6073A0
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7fa1;
/* rgb */ color: rgb(58, 127, 161);
/* oklch */ color: oklch(56.7% 0.087 232.6);
Tailwind
colors: {
  custom: {
    50: '#7ba4bd',
    500: '#3a7fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fa1;
$custom-light: #7ba4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fa1",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 161
  },
  "hsl": {
    "h": 199.806,
    "s": 47.032,
    "l": 42.941
  },
  "oklch": {
    "l": 0.56664,
    "c": 0.08681,
    "h": 232.6
  },
  "luminance": 0.18651
}

Semantic roles & 50–950 ramp

primary
#3A7FA1
secondary
#BC907B
accent
#7D51D7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3A7FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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