#3A78CB#3A78CB

#3A78CB is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.3% C 0.143 H 256.6°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3A78CB
RGBrgb(58, 120, 203)
HSLhsl(214, 58%, 51%)
HSVhsv(214, 71%, 80%)
CMYKcmyk(71.4%, 40.9%, 0%, 20.4%)
CIE-LABlab(50.27, 7.93, -48.87)
CIE-LCHlch(50.27, 49.51, 279.22°)
OKLaboklab(57.33% -0.0332 -0.1395)
OKLCHoklch(57.33% 0.143 256.6)
XYZxyz(19.2369, 18.6422, 59.0728)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A78CB #CB8D3A
analogous
#3AC0CB #3A78CB #443ACB
triadic
#3A78CB #CB3A78 #78CB3A
tetradic
#3A78CB #CB3AC0 #CB8D3A #3ACB44
square
#3A78CB #CB3AC0 #CB8D3A #3ACB44
split-complementary
#3A78CB #CB443A #C0CB3A
monochromatic
#1D3F6E #2A5B9E #3A78CB #6A99D8 #9BBAE5

Accessibility & contrast

On white

4.44
#3A78CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#3A78CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A78CB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A78CB#FFFFFF#000000##000000
##3A78CB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#517FCE
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a78cb;
/* rgb */ color: rgb(58, 120, 203);
/* oklch */ color: oklch(57.3% 0.143 256.6);
Tailwind
colors: {
  custom: {
    50: '#829edb',
    500: '#3a78cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a78cb;
$custom-light: #829edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a78cb",
  "rgb": {
    "r": 58,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 214.345,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.14342,
    "h": 256.6
  },
  "luminance": 0.18644
}

Semantic roles & 50–950 ramp

primary
#3A78CB
secondary
#D0B590
accent
#9F46E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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