#3A78BB#3A78BB

#3A78BB is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.4% C 0.122 H 252.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#3A78BB
RGBrgb(58, 120, 187)
HSLhsl(211, 53%, 48%)
HSVhsv(211, 69%, 73%)
CMYKcmyk(69%, 35.8%, 0%, 26.7%)
CIE-LABlab(49.40, 2.17, -41.08)
CIE-LCHlch(49.40, 41.13, 273.03°)
OKLaboklab(56.37% -0.0371 -0.1167)
OKLCHoklch(56.37% 0.122 252.4)
XYZxyz(17.4277, 17.9185, 49.5442)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78BB #BB7D3A
analogous
#3AB8BB #3A78BB #3D3ABB
triadic
#3A78BB #BB3A78 #78BB3A
tetradic
#3A78BB #BB3AB8 #BB7D3A #3ABB3D
square
#3A78BB #BB3AB8 #BB7D3A #3ABB3D
split-complementary
#3A78BB #BB3D3A #B8BB3A
monochromatic
#1D3C5E #2C5A8C #3A78BB #6397CF #92B6DD

Accessibility & contrast

On white

4.58
#3A78BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #3A78BB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78BB#FFFFFF#000000##000000
##3A78BB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBE
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a78bb;
/* rgb */ color: rgb(58, 120, 187);
/* oklch */ color: oklch(56.4% 0.122 252.4);
Tailwind
colors: {
  custom: {
    50: '#7f9ed0',
    500: '#3a78bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a78bb;
$custom-light: #7f9ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78bb",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 211.163,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56371,
    "c": 0.12243,
    "h": 252.4
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#3A78BB
secondary
#C8AA88
accent
#974CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3A78BB

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

Preview Lab → · Contrast checker → · Palette generator →

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