#3A7BD4#3A7BD4

#3A7BD4 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.6% C 0.152 H 257.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3A7BD4
RGBrgb(58, 123, 212)
HSLhsl(215, 64%, 53%)
HSVhsv(215, 73%, 83%)
CMYKcmyk(72.6%, 42%, 0%, 16.9%)
CIE-LABlab(51.63, 9.35, -51.81)
CIE-LCHlch(51.63, 52.65, 280.24°)
OKLaboklab(58.56% -0.0341 -0.1481)
OKLCHoklch(58.56% 0.152 257)
XYZxyz(20.7072, 19.8166, 65.0083)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BD4 #D4933A
analogous
#3AC8D4 #3A7BD4 #463AD4
triadic
#3A7BD4 #D43A7B #7BD43A
tetradic
#3A7BD4 #D43AC8 #D4933A #3AD446
square
#3A7BD4 #D43AC8 #D4933A #3AD446
split-complementary
#3A7BD4 #D4463A #C8D43A
monochromatic
#1A4279 #255EAB #3A7BD4 #6C9DDF #9EBEEA

Accessibility & contrast

On white

4.23
#3A7BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#3A7BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BD4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BD4#FFFFFF#000000##000000
##3A7BD41.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5083D7
Deuteranopia (green-blind)
#3575D2
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7bd4;
/* rgb */ color: rgb(58, 123, 212);
/* oklch */ color: oklch(58.6% 0.152 257.0);
Tailwind
colors: {
  custom: {
    50: '#83a0e2',
    500: '#3a7bd4',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bd4;
$custom-light: #83a0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bd4",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 214.675,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.58555,
    "c": 0.15196,
    "h": 257
  },
  "luminance": 0.19819
}

Semantic roles & 50–950 ramp

primary
#3A7BD4
secondary
#D6BA94
accent
#A141E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A7BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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