#3A78BE#3A78BE

#3A78BE is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.5% C 0.126 H 253.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#3A78BE
RGBrgb(58, 120, 190)
HSLhsl(212, 53%, 49%)
HSVhsv(212, 69%, 75%)
CMYKcmyk(69.5%, 36.8%, 0%, 25.5%)
CIE-LABlab(49.55, 3.25, -42.55)
CIE-LCHlch(49.55, 42.68, 274.36°)
OKLaboklab(56.55% -0.0363 -0.121)
OKLCHoklch(56.55% 0.126 253.3)
XYZxyz(17.7522, 18.0483, 51.2533)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78BE #BE803A
analogous
#3ABABE #3A78BE #3E3ABE
triadic
#3A78BE #BE3A78 #78BE3A
tetradic
#3A78BE #BE3ABA #BE803A #3ABE3E
square
#3A78BE #BE3ABA #BE803A #3ABE3E
split-complementary
#3A78BE #BE3E3A #BABE3A
monochromatic
#1D3D60 #2C5A8F #3A78BE #6597D0 #94B7DE

Accessibility & contrast

On white

4.56
#3A78BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#3A78BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78BE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78BE#FFFFFF#000000##000000
##3A78BE1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC1
Deuteranopia (green-blind)
#4570BD
Tritanopia (blue-blind)
#008892
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a78be;
/* rgb */ color: rgb(58, 120, 190);
/* oklch */ color: oklch(56.5% 0.126 253.3);
Tailwind
colors: {
  custom: {
    50: '#7f9ed2',
    500: '#3a78be',
    950: '#000000',
  },
}
SCSS
$custom: #3a78be;
$custom-light: #7f9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78be",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 211.818,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.12633,
    "h": 253.3
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#3A78BE
secondary
#CAAC8A
accent
#984BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3A78BE

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

Preview Lab → · Contrast checker → · Palette generator →

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