#3A76CB#3A76CB

#3A76CB is a mid, vivid blue. Relative luminance 0.182; OKLCH L 56.9% C 0.146 H 257.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#3A76CB
RGBrgb(58, 118, 203)
HSLhsl(215, 58%, 51%)
HSVhsv(215, 71%, 80%)
CMYKcmyk(71.4%, 41.9%, 0%, 20.4%)
CIE-LABlab(49.70, 9.17, -49.78)
CIE-LCHlch(49.70, 50.61, 280.44°)
OKLaboklab(56.89% -0.0314 -0.1422)
OKLCHoklch(56.89% 0.146 257.5)
XYZxyz(18.9989, 18.1662, 58.9935)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A76CB #CB8F3A
analogous
#3ABFCB #3A76CB #463ACB
triadic
#3A76CB #CB3A76 #76CB3A
tetradic
#3A76CB #CB3ABF #CB8F3A #3ACB46
square
#3A76CB #CB3ABF #CB8F3A #3ACB46
split-complementary
#3A76CB #CB463A #BFCB3A
monochromatic
#1D3E6E #2A5A9E #3A76CB #6A98D8 #9BB9E5

Accessibility & contrast

On white

4.53
#3A76CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#3A76CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A76CB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A76CB#FFFFFF#000000##000000
##3A76CB1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#008A96
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a76cb;
/* rgb */ color: rgb(58, 118, 203);
/* oklch */ color: oklch(56.9% 0.146 257.5);
Tailwind
colors: {
  custom: {
    50: '#829ddb',
    500: '#3a76cb',
    950: '#000000',
  },
}
SCSS
$custom: #3a76cb;
$custom-light: #829ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a76cb",
  "rgb": {
    "r": 58,
    "g": 118,
    "b": 203
  },
  "hsl": {
    "h": 215.172,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5689,
    "c": 0.14564,
    "h": 257.5
  },
  "luminance": 0.18168
}

Semantic roles & 50–950 ramp

primary
#3A76CB
secondary
#D0B690
accent
#A146E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A76CB

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

Preview Lab → · Contrast checker → · Palette generator →

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