#3A7FA8#3A7FA8

#3A7FA8 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.094 H 237.7°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3A7FA8
RGBrgb(58, 127, 168)
HSLhsl(202, 49%, 44%)
HSVhsv(202, 65%, 66%)
CMYKcmyk(65.5%, 24.4%, 0%, 34.1%)
CIE-LABlab(50.57, -8.60, -28.24)
CIE-LCHlch(50.57, 29.53, 253.06°)
OKLaboklab(57% -0.0502 -0.0793)
OKLCHoklch(57% 0.094 237.7)
XYZxyz(16.3995, 18.9038, 39.8227)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FA8 #A8633A
analogous
#3AA89A #3A7FA8 #3A48A8
triadic
#3A7FA8 #A83A7F #7FA83A
tetradic
#3A7FA8 #9A3AA8 #A8633A #48A83A
square
#3A7FA8 #9A3AA8 #A8633A #48A83A
split-complementary
#3A7FA8 #A83A48 #A89A3A
monochromatic
#1B3A4D #2A5D7B #3A7FA8 #599DC6 #87B8D6

Accessibility & contrast

On white

4.39
#3A7FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#3A7FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FA8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FA8#FFFFFF#000000##000000
##3A7FA81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7FAA
Deuteranopia (green-blind)
#5D74A7
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7fa8;
/* rgb */ color: rgb(58, 127, 168);
/* oklch */ color: oklch(57.0% 0.094 237.7);
Tailwind
colors: {
  custom: {
    50: '#7ca4c2',
    500: '#3a7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fa8;
$custom-light: #7ca4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fa8",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 202.364,
    "s": 48.673,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57001,
    "c": 0.09387,
    "h": 237.7
  },
  "luminance": 0.18905
}

Semantic roles & 50–950 ramp

primary
#3A7FA8
secondary
#C0977E
accent
#8350D8
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3A7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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