#3A7FB5#3A7FB5

#3A7FB5 is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.7% C 0.109 H 245.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A7FB5
RGBrgb(58, 127, 181)
HSLhsl(206, 51%, 47%)
HSVhsv(206, 68%, 71%)
CMYKcmyk(68%, 29.8%, 0%, 29%)
CIE-LABlab(51.17, -4.14, -34.83)
CIE-LCHlch(51.17, 35.08, 263.23°)
OKLaboklab(57.66% -0.0459 -0.0984)
OKLCHoklch(57.66% 0.109 245)
XYZxyz(17.6716, 19.4126, 46.5228)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FB5 #B5703A
analogous
#3AB5AD #3A7FB5 #3A42B5
triadic
#3A7FB5 #B53A7F #7FB53A
tetradic
#3A7FB5 #AD3AB5 #B5703A #42B53A
square
#3A7FB5 #AD3AB5 #B5703A #42B53A
split-complementary
#3A7FB5 #B53A42 #B5AD3A
monochromatic
#1C3E58 #2B5E87 #3A7FB5 #609DCC #8EB9DB

Accessibility & contrast

On white

4.30
#3A7FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#3A7FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FB5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FB5#FFFFFF#000000##000000
##3A7FB51.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B7
Deuteranopia (green-blind)
#5675B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7fb5;
/* rgb */ color: rgb(58, 127, 181);
/* oklch */ color: oklch(57.7% 0.109 245.0);
Tailwind
colors: {
  custom: {
    50: '#7ea3cb',
    500: '#3a7fb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fb5;
$custom-light: #7ea3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fb5",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 206.341,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.10857,
    "h": 245
  },
  "luminance": 0.19414
}

Semantic roles & 50–950 ramp

primary
#3A7FB5
secondary
#C6A185
accent
#8B4DDB
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A7FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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