#3A78B2#3A78B2

#3A78B2 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.9% C 0.111 H 249.1°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3A78B2
RGBrgb(58, 120, 178)
HSLhsl(209, 51%, 46%)
HSVhsv(209, 67%, 70%)
CMYKcmyk(67.4%, 32.6%, 0%, 30.2%)
CIE-LABlab(48.94, -1.02, -36.60)
CIE-LCHlch(48.94, 36.61, 268.40°)
OKLaboklab(55.86% -0.0396 -0.1036)
OKLCHoklch(55.86% 0.111 249.1)
XYZxyz(16.4943, 17.5451, 44.6281)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78B2 #B2743A
analogous
#3AB2B0 #3A78B2 #3A3CB2
triadic
#3A78B2 #B23A78 #78B23A
tetradic
#3A78B2 #B03AB2 #B2743A #3CB23A
square
#3A78B2 #B03AB2 #B2743A #3CB23A
split-complementary
#3A78B2 #B23A3C #B2B03A
monochromatic
#1C3A56 #2B5984 #3A78B2 #5F96CB #8DB4DA

Accessibility & contrast

On white

4.66
#3A78B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3A78B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A78B2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78B2#FFFFFF#000000##FFFFFF
##3A78B21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB4
Deuteranopia (green-blind)
#4E6FB1
Tritanopia (blue-blind)
#00868D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a78b2;
/* rgb */ color: rgb(58, 120, 178);
/* oklch */ color: oklch(55.9% 0.111 249.1);
Tailwind
colors: {
  custom: {
    50: '#7d9ec9',
    500: '#3a78b2',
    950: '#000000',
  },
}
SCSS
$custom: #3a78b2;
$custom-light: #7d9ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78b2",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 209,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.11091,
    "h": 249.1
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#3A78B2
secondary
#C4A383
accent
#924DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3A78B2

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

Preview Lab → · Contrast checker → · Palette generator →

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