#3A7EA8#3A7EA8

#3A7EA8 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.8% C 0.094 H 238.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3A7EA8
RGBrgb(58, 126, 168)
HSLhsl(203, 49%, 44%)
HSVhsv(203, 65%, 66%)
CMYKcmyk(65.5%, 25%, 0%, 34.1%)
CIE-LABlab(50.27, -8.02, -28.72)
CIE-LCHlch(50.27, 29.82, 254.39°)
OKLaboklab(56.76% -0.0491 -0.0807)
OKLCHoklch(56.76% 0.094 238.7)
XYZxyz(16.2710, 18.6467, 39.7799)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EA8 #A8643A
analogous
#3AA89B #3A7EA8 #3A47A8
triadic
#3A7EA8 #A83A7E #7EA83A
tetradic
#3A7EA8 #9B3AA8 #A8643A #47A83A
square
#3A7EA8 #9B3AA8 #A8643A #47A83A
split-complementary
#3A7EA8 #A83A47 #A89B3A
monochromatic
#1B3A4D #2A5C7B #3A7EA8 #599CC6 #87B7D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7EA8#FFFFFF#000000##000000
##3A7EA81.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)
#6B7EAA
Deuteranopia (green-blind)
#5C73A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7ea8;
/* rgb */ color: rgb(58, 126, 168);
/* oklch */ color: oklch(56.8% 0.094 238.7);
Tailwind
colors: {
  custom: {
    50: '#7ca3c2',
    500: '#3a7ea8',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ea8;
$custom-light: #7ca3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ea8",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 202.909,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5676,
    "c": 0.09447,
    "h": 238.7
  },
  "luminance": 0.18648
}

Semantic roles & 50–950 ramp

primary
#3A7EA8
secondary
#C0977E
accent
#8450D8
background
#F8FAFB
surface
#EFF3F7
border
#CACDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3A7EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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