#3A7EB7#3A7EB7

#3A7EB7 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.5% C 0.112 H 246.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#3A7EB7
RGBrgb(58, 126, 183)
HSLhsl(207, 52%, 47%)
HSVhsv(207, 68%, 72%)
CMYKcmyk(68.3%, 31.1%, 0%, 28.2%)
CIE-LABlab(50.96, -2.85, -36.30)
CIE-LCHlch(50.96, 36.41, 265.52°)
OKLaboklab(57.54% -0.0443 -0.1027)
OKLCHoklch(57.54% 0.112 246.7)
XYZxyz(17.7498, 19.2383, 47.5685)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EB7 #B7733A
analogous
#3AB7B2 #3A7EB7 #3A40B7
triadic
#3A7EB7 #B73A7E #7EB73A
tetradic
#3A7EB7 #B23AB7 #B7733A #40B73A
square
#3A7EB7 #B23AB7 #B7733A #40B73A
split-complementary
#3A7EB7 #B73A40 #B7B23A
monochromatic
#1D3E5A #2B5E89 #3A7EB7 #619CCD #90B9DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7EB7#FFFFFF#000000##000000
##3A7EB71.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)
#6580B9
Deuteranopia (green-blind)
#5374B6
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7eb7;
/* rgb */ color: rgb(58, 126, 183);
/* oklch */ color: oklch(57.5% 0.112 246.7);
Tailwind
colors: {
  custom: {
    50: '#7ea3cd',
    500: '#3a7eb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a7eb7;
$custom-light: #7ea3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7eb7",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 183
  },
  "hsl": {
    "h": 207.36,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57536,
    "c": 0.1118,
    "h": 246.7
  },
  "luminance": 0.1924
}

Semantic roles & 50–950 ramp

primary
#3A7EB7
secondary
#C7A486
accent
#8E4CDB
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A7EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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