#3B82F2#3B82F2

#3B82F2 is a light, vivid blue. Relative luminance 0.233; OKLCH L 62.0% C 0.183 H 259.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3B82F2
RGBrgb(59, 130, 242)
HSLhsl(217, 88%, 59%)
HSVhsv(217, 76%, 95%)
CMYKcmyk(75.6%, 46.3%, 0%, 5.1%)
CIE-LABlab(55.38, 16.09, -62.60)
CIE-LCHlch(55.38, 64.64, 284.41°)
OKLaboklab(62.04% -0.0339 -0.1797)
OKLCHoklch(62.04% 0.183 259.3)
XYZxyz(25.8074, 23.3029, 87.1250)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B82F2 #F2AB3B
analogous
#3BDEF2 #3B82F2 #503BF2
triadic
#3B82F2 #F23B82 #82F23B
tetradic
#3B82F2 #F23BDE #F2AB3B #3BF250
square
#3B82F2 #F23BDE #F2AB3B #3BF250
split-complementary
#3B82F2 #F2503B #DEF23B
monochromatic
#0B48A7 #0F60E1 #3B82F2 #74A7F6 #AECBFA

Accessibility & contrast

On white

3.71
#3B82F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#3B82F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B82F2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B82F2#FFFFFF#000000##000000
##3B82F21.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF6
Deuteranopia (green-blind)
#117DF0
Tritanopia (blue-blind)
#009DAE
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3b82f2;
/* rgb */ color: rgb(59, 130, 242);
/* oklch */ color: oklch(62.0% 0.183 259.3);
Tailwind
colors: {
  custom: {
    50: '#89a5f7',
    500: '#3b82f2',
    950: '#000000',
  },
}
SCSS
$custom: #3b82f2;
$custom-light: #89a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b82f2",
  "rgb": {
    "r": 59,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 216.721,
    "s": 87.56,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62039,
    "c": 0.18286,
    "h": 259.3
  },
  "luminance": 0.23306
}

Semantic roles & 50–950 ramp

primary
#3B82F2
secondary
#E8CCA0
accent
#AC2AFE
background
#F9FAFF
surface
#F2F4FF
border
#CCCED7
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #3B82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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