#3A78BA#3A78BA

#3A78BA is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.3% C 0.121 H 252.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#3A78BA
RGBrgb(58, 120, 186)
HSLhsl(211, 52%, 48%)
HSVhsv(211, 69%, 73%)
CMYKcmyk(68.8%, 35.5%, 0%, 27.1%)
CIE-LABlab(49.35, 1.82, -40.58)
CIE-LCHlch(49.35, 40.62, 272.56°)
OKLaboklab(56.31% -0.0373 -0.1152)
OKLCHoklch(56.31% 0.121 252)
XYZxyz(17.3210, 17.8758, 48.9824)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78BA #BA7C3A
analogous
#3AB8BA #3A78BA #3C3ABA
triadic
#3A78BA #BA3A78 #78BA3A
tetradic
#3A78BA #BA3AB8 #BA7C3A #3ABA3C
square
#3A78BA #BA3AB8 #BA7C3A #3ABA3C
split-complementary
#3A78BA #BA3C3A #B8BA3A
monochromatic
#1D3C5D #2B5A8B #3A78BA #6397CE #92B6DD

Accessibility & contrast

On white

4.59
#3A78BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#3A78BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A78BA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78BA#FFFFFF#000000##FFFFFF
##3A78BA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a78ba;
/* rgb */ color: rgb(58, 120, 186);
/* oklch */ color: oklch(56.3% 0.121 252.0);
Tailwind
colors: {
  custom: {
    50: '#7e9ecf',
    500: '#3a78ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a78ba;
$custom-light: #7e9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78ba",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 210.938,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56313,
    "c": 0.12113,
    "h": 252
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#3A78BA
secondary
#C8A988
accent
#964CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3A78BA

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

Preview Lab → · Contrast checker → · Palette generator →

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