#3A7FB2#3A7FB2

#3A7FB2 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.5% C 0.105 H 243.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3A7FB2
RGBrgb(58, 127, 178)
HSLhsl(206, 51%, 46%)
HSVhsv(206, 67%, 70%)
CMYKcmyk(67.4%, 28.7%, 0%, 30.2%)
CIE-LABlab(51.03, -5.18, -33.32)
CIE-LCHlch(51.03, 33.72, 261.17°)
OKLaboklab(57.51% -0.0468 -0.094)
OKLCHoklch(57.51% 0.105 243.5)
XYZxyz(17.3671, 19.2908, 44.9191)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FB2 #B26D3A
analogous
#3AB2A9 #3A7FB2 #3A43B2
triadic
#3A7FB2 #B23A7F #7FB23A
tetradic
#3A7FB2 #A93AB2 #B26D3A #43B23A
square
#3A7FB2 #A93AB2 #B26D3A #43B23A
split-complementary
#3A7FB2 #B23A43 #B2A93A
monochromatic
#1C3D56 #2B5E84 #3A7FB2 #5F9DCB #8DB9DA

Accessibility & contrast

On white

4.32
#3A7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3A7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FB2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FB2#FFFFFF#000000##000000
##3A7FB21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6880B4
Deuteranopia (green-blind)
#5874B1
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7fb2;
/* rgb */ color: rgb(58, 127, 178);
/* oklch */ color: oklch(57.5% 0.105 243.5);
Tailwind
colors: {
  custom: {
    50: '#7da3c9',
    500: '#3a7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fb2;
$custom-light: #7da3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fb2",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 205.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57507,
    "c": 0.10504,
    "h": 243.5
  },
  "luminance": 0.19293
}

Semantic roles & 50–950 ramp

primary
#3A7FB2
secondary
#C49F83
accent
#894DDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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