#3A7FB8#3A7FB8

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

Color values

HEX#3A7FB8
RGBrgb(58, 127, 184)
HSLhsl(207, 52%, 47%)
HSVhsv(207, 68%, 72%)
CMYKcmyk(68.5%, 31%, 0%, 27.8%)
CIE-LABlab(51.31, -3.09, -36.33)
CIE-LCHlch(51.31, 36.47, 265.14°)
OKLaboklab(57.82% -0.045 -0.1028)
OKLCHoklch(57.82% 0.112 246.4)
XYZxyz(17.9828, 19.5371, 48.1614)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FB8 #B8733A
analogous
#3AB8B2 #3A7FB8 #3A40B8
triadic
#3A7FB8 #B83A7F #7FB83A
tetradic
#3A7FB8 #B23AB8 #B8733A #40B83A
square
#3A7FB8 #B23AB8 #B8733A #40B83A
split-complementary
#3A7FB8 #B83A40 #B8B23A
monochromatic
#1D3F5B #2B5F89 #3A7FB8 #629DCD #90BADC

Accessibility & contrast

On white

4.28
#3A7FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3A7FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FB8
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FB8#FFFFFF#000000##000000
##3A7FB81.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6681BA
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7fb8;
/* rgb */ color: rgb(58, 127, 184);
/* oklch */ color: oklch(57.8% 0.112 246.4);
Tailwind
colors: {
  custom: {
    50: '#7ea3cd',
    500: '#3a7fb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fb8;
$custom-light: #7ea3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fb8",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 184
  },
  "hsl": {
    "h": 207.143,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57824,
    "c": 0.11217,
    "h": 246.4
  },
  "luminance": 0.19539
}

Semantic roles & 50–950 ramp

primary
#3A7FB8
secondary
#C7A487
accent
#8D4CDC
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A7FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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