#3A7FBC#3A7FBC

#3A7FBC is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 58.0% C 0.117 H 248.0°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#3A7FBC
RGBrgb(58, 127, 188)
HSLhsl(208, 53%, 48%)
HSVhsv(208, 69%, 74%)
CMYKcmyk(69.1%, 32.4%, 0%, 26.3%)
CIE-LABlab(51.50, -1.68, -38.32)
CIE-LCHlch(51.50, 38.36, 267.49°)
OKLaboklab(58.04% -0.0438 -0.1085)
OKLCHoklch(58.04% 0.117 248)
XYZxyz(18.4080, 19.7072, 50.4009)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FBC #BC773A
analogous
#3ABCB8 #3A7FBC #3A3EBC
triadic
#3A7FBC #BC3A7F #7FBC3A
tetradic
#3A7FBC #B83ABC #BC773A #3EBC3A
square
#3A7FBC #B83ABC #BC773A #3EBC3A
split-complementary
#3A7FBC #BC3A3E #BCB83A
monochromatic
#1D405E #2C5F8D #3A7FBC #649DCF #93BBDE

Accessibility & contrast

On white

4.25
#3A7FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#3A7FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FBC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FBC#FFFFFF#000000##000000
##3A7FBC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6482BF
Deuteranopia (green-blind)
#5275BB
Tritanopia (blue-blind)
#008E95
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7fbc;
/* rgb */ color: rgb(58, 127, 188);
/* oklch */ color: oklch(58.0% 0.117 248.0);
Tailwind
colors: {
  custom: {
    50: '#7fa3d0',
    500: '#3a7fbc',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fbc;
$custom-light: #7fa3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fbc",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 208.154,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58041,
    "c": 0.11705,
    "h": 248
  },
  "luminance": 0.19709
}

Semantic roles & 50–950 ramp

primary
#3A7FBC
secondary
#C9A789
accent
#8F4CDC
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3A7FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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