#3A78B5#3A78B5

#3A78B5 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 56.0% C 0.115 H 250.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3A78B5
RGBrgb(58, 120, 181)
HSLhsl(210, 51%, 47%)
HSVhsv(210, 68%, 71%)
CMYKcmyk(68%, 33.7%, 0%, 29%)
CIE-LABlab(49.09, 0.04, -38.10)
CIE-LCHlch(49.09, 38.10, 270.06°)
OKLaboklab(56.03% -0.0387 -0.108)
OKLCHoklch(56.03% 0.115 250.3)
XYZxyz(16.7988, 17.6669, 46.2318)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78B5 #B5773A
analogous
#3AB5B5 #3A78B5 #3A3BB5
triadic
#3A78B5 #B53A78 #78B53A
tetradic
#3A78B5 #B53AB5 #B5773A #3BB53A
square
#3A78B5 #B53AB5 #B5773A #3BB53A
split-complementary
#3A78B5 #B53A3B #B5B53A
monochromatic
#1C3B58 #2B5987 #3A78B5 #6097CC #8EB5DB

Accessibility & contrast

On white

4.63
#3A78B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#3A78B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A78B5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78B5#FFFFFF#000000##FFFFFF
##3A78B51.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7BB8
Deuteranopia (green-blind)
#4C6FB4
Tritanopia (blue-blind)
#00868E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a78b5;
/* rgb */ color: rgb(58, 120, 181);
/* oklch */ color: oklch(56.0% 0.115 250.3);
Tailwind
colors: {
  custom: {
    50: '#7e9ecb',
    500: '#3a78b5',
    950: '#000000',
  },
}
SCSS
$custom: #3a78b5;
$custom-light: #7e9ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78b5",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 181
  },
  "hsl": {
    "h": 209.756,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5603,
    "c": 0.11471,
    "h": 250.3
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#3A78B5
secondary
#C6A585
accent
#934DDB
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3A78B5

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

Preview Lab → · Contrast checker → · Palette generator →

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