#3A7FB7#3A7FB7

#3A7FB7 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.111 H 245.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#3A7FB7
RGBrgb(58, 127, 183)
HSLhsl(207, 52%, 47%)
HSVhsv(207, 68%, 72%)
CMYKcmyk(68.3%, 30.6%, 0%, 28.2%)
CIE-LABlab(51.26, -3.44, -35.83)
CIE-LCHlch(51.26, 36.00, 264.52°)
OKLaboklab(57.77% -0.0453 -0.1013)
OKLCHoklch(57.77% 0.111 245.9)
XYZxyz(17.8783, 19.4953, 47.6113)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FB7 #B7723A
analogous
#3AB7B1 #3A7FB7 #3A41B7
triadic
#3A7FB7 #B73A7F #7FB73A
tetradic
#3A7FB7 #B13AB7 #B7723A #41B73A
square
#3A7FB7 #B13AB7 #B7723A #41B73A
split-complementary
#3A7FB7 #B73A41 #B7B13A
monochromatic
#1D3E5A #2B5F89 #3A7FB7 #619DCD #90BADC

Accessibility & contrast

On white

4.29
#3A7FB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#3A7FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FB7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FB7#FFFFFF#000000##000000
##3A7FB71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6681B9
Deuteranopia (green-blind)
#5575B6
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7fb7;
/* rgb */ color: rgb(58, 127, 183);
/* oklch */ color: oklch(57.8% 0.111 245.9);
Tailwind
colors: {
  custom: {
    50: '#7ea3cd',
    500: '#3a7fb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fb7;
$custom-light: #7ea3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fb7",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 206.88,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5777,
    "c": 0.11096,
    "h": 245.9
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#3A7FB7
secondary
#C7A386
accent
#8C4CDB
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A7FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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