#3A7DB8#3A7DB8

#3A7DB8 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.4% C 0.114 H 247.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#3A7DB8
RGBrgb(58, 125, 184)
HSLhsl(208, 52%, 47%)
HSVhsv(208, 68%, 72%)
CMYKcmyk(68.5%, 32.1%, 0%, 27.8%)
CIE-LABlab(50.72, -1.90, -37.27)
CIE-LCHlch(50.72, 37.31, 267.08°)
OKLaboklab(57.36% -0.0429 -0.1055)
OKLCHoklch(57.36% 0.114 247.8)
XYZxyz(17.7270, 19.0256, 48.0762)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DB8 #B8753A
analogous
#3AB8B4 #3A7DB8 #3A3EB8
triadic
#3A7DB8 #B83A7D #7DB83A
tetradic
#3A7DB8 #B43AB8 #B8753A #3EB83A
square
#3A7DB8 #B43AB8 #B8753A #3EB83A
split-complementary
#3A7DB8 #B83A3E #B8B43A
monochromatic
#1D3E5B #2B5D89 #3A7DB8 #629BCD #90B9DC

Accessibility & contrast

On white

4.37
#3A7DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#3A7DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DB8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DB8#FFFFFF#000000##000000
##3A7DB81.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#637FBB
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7db8;
/* rgb */ color: rgb(58, 125, 184);
/* oklch */ color: oklch(57.4% 0.114 247.8);
Tailwind
colors: {
  custom: {
    50: '#7ea2cd',
    500: '#3a7db8',
    950: '#000000',
  },
}
SCSS
$custom: #3a7db8;
$custom-light: #7ea2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7db8",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 208.095,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57357,
    "c": 0.1139,
    "h": 247.8
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#3A7DB8
secondary
#C7A587
accent
#8F4CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #3A7DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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