#3A7EB5#3A7EB5

#3A7EB5 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.109 H 245.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#3A7EB5
RGBrgb(58, 126, 181)
HSLhsl(207, 51%, 47%)
HSVhsv(207, 68%, 71%)
CMYKcmyk(68%, 30.4%, 0%, 29%)
CIE-LABlab(50.87, -3.55, -35.30)
CIE-LCHlch(50.87, 35.48, 264.26°)
OKLaboklab(57.43% -0.0449 -0.0998)
OKLCHoklch(57.43% 0.109 245.8)
XYZxyz(17.5431, 19.1556, 46.4800)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EB5 #B5713A
analogous
#3AB5AE #3A7EB5 #3A41B5
triadic
#3A7EB5 #B53A7E #7EB53A
tetradic
#3A7EB5 #AE3AB5 #B5713A #41B53A
square
#3A7EB5 #AE3AB5 #B5713A #41B53A
split-complementary
#3A7EB5 #B53A41 #B5AE3A
monochromatic
#1C3D58 #2B5E87 #3A7EB5 #609CCC #8EB9DB

Accessibility & contrast

On white

4.35
#3A7EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#3A7EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EB5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EB5#FFFFFF#000000##000000
##3A7EB51.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B7
Deuteranopia (green-blind)
#5574B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7eb5;
/* rgb */ color: rgb(58, 126, 181);
/* oklch */ color: oklch(57.4% 0.109 245.8);
Tailwind
colors: {
  custom: {
    50: '#7ea3cb',
    500: '#3a7eb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7eb5;
$custom-light: #7ea3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7eb5",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 206.829,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57429,
    "c": 0.10939,
    "h": 245.8
  },
  "luminance": 0.19157
}

Semantic roles & 50–950 ramp

primary
#3A7EB5
secondary
#C6A285
accent
#8C4DDB
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A7EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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