#3A78BF#3A78BF

#3A78BF is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.6% C 0.128 H 253.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3A78BF
RGBrgb(58, 120, 191)
HSLhsl(212, 53%, 49%)
HSVhsv(212, 70%, 75%)
CMYKcmyk(69.6%, 37.2%, 0%, 25.1%)
CIE-LABlab(49.61, 3.60, -43.04)
CIE-LCHlch(49.61, 43.19, 274.79°)
OKLaboklab(56.6% -0.036 -0.1224)
OKLCHoklch(56.6% 0.128 253.6)
XYZxyz(17.8619, 18.0922, 51.8309)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78BF #BF813A
analogous
#3ABBBF #3A78BF #3F3ABF
triadic
#3A78BF #BF3A78 #78BF3A
tetradic
#3A78BF #BF3ABB #BF813A #3ABF3F
square
#3A78BF #BF3ABB #BF813A #3ABF3F
split-complementary
#3A78BF #BF3F3A #BBBF3A
monochromatic
#1D3D61 #2C5B90 #3A78BF #6697D0 #95B7DF

Accessibility & contrast

On white

4.55
#3A78BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#3A78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78BF#FFFFFF#000000##000000
##3A78BF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC2
Deuteranopia (green-blind)
#4470BE
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a78bf;
/* rgb */ color: rgb(58, 120, 191);
/* oklch */ color: oklch(56.6% 0.128 253.6);
Tailwind
colors: {
  custom: {
    50: '#7f9ed2',
    500: '#3a78bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a78bf;
$custom-light: #7f9ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78bf",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 212.03,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56604,
    "c": 0.12763,
    "h": 253.6
  },
  "luminance": 0.18094
}

Semantic roles & 50–950 ramp

primary
#3A78BF
secondary
#CAAD8B
accent
#994BDD
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3A78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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