#3A7FC5#3A7FC5

#3A7FC5 is a mid, vivid cyan. Relative luminance 0.201; OKLCH L 58.5% C 0.128 H 251.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3A7FC5
RGBrgb(58, 127, 197)
HSLhsl(210, 55%, 50%)
HSVhsv(210, 71%, 77%)
CMYKcmyk(70.6%, 35.5%, 0%, 22.7%)
CIE-LABlab(51.96, 1.51, -42.76)
CIE-LCHlch(51.96, 42.78, 272.02°)
OKLaboklab(58.55% -0.0413 -0.1215)
OKLCHoklch(58.55% 0.128 251.2)
XYZxyz(19.4086, 20.1074, 55.6707)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FC5 #C5803A
analogous
#3AC4C5 #3A7FC5 #3B3AC5
triadic
#3A7FC5 #C53A7F #7FC53A
tetradic
#3A7FC5 #C53AC4 #C5803A #3AC53B
square
#3A7FC5 #C53AC4 #C5803A #3AC53B
split-complementary
#3A7FC5 #C53B3A #C4C53A
monochromatic
#1E4266 #2C6196 #3A7FC5 #699ED3 #99BCE1

Accessibility & contrast

On white

4.18
#3A7FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#3A7FC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FC5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FC5#FFFFFF#000000##000000
##3A7FC51.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F83C8
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7fc5;
/* rgb */ color: rgb(58, 127, 197);
/* oklch */ color: oklch(58.5% 0.128 251.2);
Tailwind
colors: {
  custom: {
    50: '#80a3d7',
    500: '#3a7fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fc5;
$custom-light: #80a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fc5",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 210.216,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.58546,
    "c": 0.12832,
    "h": 251.2
  },
  "luminance": 0.2011
}

Semantic roles & 50–950 ramp

primary
#3A7FC5
secondary
#CDAE8E
accent
#944ADE
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0B0F14
muted
#7C7F83

Preview Lab

Preview with #3A7FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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