#3A7DB2#3A7DB2

#3A7DB2 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.107 H 245.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#3A7DB2
RGBrgb(58, 125, 178)
HSLhsl(207, 51%, 46%)
HSVhsv(207, 67%, 70%)
CMYKcmyk(67.4%, 29.8%, 0%, 30.2%)
CIE-LABlab(50.43, -4.00, -34.26)
CIE-LCHlch(50.43, 34.49, 263.34°)
OKLaboklab(57.04% -0.0448 -0.0967)
OKLCHoklch(57.04% 0.107 245.2)
XYZxyz(17.1114, 18.7793, 44.8338)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DB2 #B26F3A
analogous
#3AB2AB #3A7DB2 #3A41B2
triadic
#3A7DB2 #B23A7D #7DB23A
tetradic
#3A7DB2 #AB3AB2 #B26F3A #41B23A
square
#3A7DB2 #AB3AB2 #B26F3A #41B23A
split-complementary
#3A7DB2 #B23A41 #B2AB3A
monochromatic
#1C3C56 #2B5D84 #3A7DB2 #5F9BCB #8DB8DA

Accessibility & contrast

On white

4.42
#3A7DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#3A7DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DB2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DB2#FFFFFF#000000##000000
##3A7DB21.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657EB4
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7db2;
/* rgb */ color: rgb(58, 125, 178);
/* oklch */ color: oklch(57.0% 0.107 245.2);
Tailwind
colors: {
  custom: {
    50: '#7da2c9',
    500: '#3a7db2',
    950: '#000000',
  },
}
SCSS
$custom: #3a7db2;
$custom-light: #7da2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7db2",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 206.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.1066,
    "h": 245.2
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#3A7DB2
secondary
#C4A083
accent
#8C4DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #3A7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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