#3A7BC5#3A7BC5

#3A7BC5 is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.6% C 0.132 H 253.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#3A7BC5
RGBrgb(58, 123, 197)
HSLhsl(212, 55%, 50%)
HSVhsv(212, 71%, 77%)
CMYKcmyk(70.6%, 37.6%, 0%, 22.7%)
CIE-LABlab(50.80, 3.93, -44.60)
CIE-LCHlch(50.80, 44.77, 275.04°)
OKLaboklab(57.64% -0.0375 -0.1269)
OKLCHoklch(57.64% 0.132 253.6)
XYZxyz(18.9022, 19.0946, 55.5019)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BC5 #C5843A
analogous
#3AC1C5 #3A7BC5 #3E3AC5
triadic
#3A7BC5 #C53A7B #7BC53A
tetradic
#3A7BC5 #C53AC1 #C5843A #3AC53E
square
#3A7BC5 #C53AC1 #C5843A #3AC53E
split-complementary
#3A7BC5 #C53E3A #C1C53A
monochromatic
#1E4066 #2C5D96 #3A7BC5 #699BD3 #99BAE1

Accessibility & contrast

On white

4.36
#3A7BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#3A7BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BC5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BC5#FFFFFF#000000##000000
##3A7BC51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5980C8
Deuteranopia (green-blind)
#4573C4
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7bc5;
/* rgb */ color: rgb(58, 123, 197);
/* oklch */ color: oklch(57.6% 0.132 253.6);
Tailwind
colors: {
  custom: {
    50: '#80a0d7',
    500: '#3a7bc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bc5;
$custom-light: #80a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bc5",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 211.942,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.13234,
    "h": 253.6
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#3A7BC5
secondary
#CDAF8E
accent
#994ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #3A7BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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