#3A7BC8#3A7BC8

#3A7BC8 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.8% C 0.136 H 254.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A7BC8
RGBrgb(58, 123, 200)
HSLhsl(213, 56%, 51%)
HSVhsv(213, 71%, 78%)
CMYKcmyk(71%, 38.5%, 0%, 21.6%)
CIE-LABlab(50.96, 5.01, -46.05)
CIE-LCHlch(50.96, 46.32, 276.21°)
OKLaboklab(57.82% -0.0367 -0.1312)
OKLCHoklch(57.82% 0.136 254.4)
XYZxyz(19.2494, 19.2335, 57.3303)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BC8 #C8873A
analogous
#3AC2C8 #3A7BC8 #403AC8
triadic
#3A7BC8 #C83A7B #7BC83A
tetradic
#3A7BC8 #C83AC2 #C8873A #3AC840
square
#3A7BC8 #C83AC2 #C8873A #3AC840
split-complementary
#3A7BC8 #C8403A #C2C83A
monochromatic
#1E416A #2B5E9A #3A7BC8 #6A9BD5 #9ABBE3

Accessibility & contrast

On white

4.33
#3A7BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#3A7BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BC8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BC8#FFFFFF#000000##000000
##3A7BC81.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#4273C6
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7bc8;
/* rgb */ color: rgb(58, 123, 200);
/* oklch */ color: oklch(57.8% 0.136 254.4);
Tailwind
colors: {
  custom: {
    50: '#81a0d9',
    500: '#3a7bc8',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bc8;
$custom-light: #81a0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bc8",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 212.535,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57817,
    "c": 0.13624,
    "h": 254.4
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#3A7BC8
secondary
#CEB28F
accent
#9A48E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #3A7BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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