#3B7EF2#3B7EF2

#3B7EF2 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.2% C 0.187 H 260.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3B7EF2
RGBrgb(59, 126, 242)
HSLhsl(218, 88%, 59%)
HSVhsv(218, 76%, 95%)
CMYKcmyk(75.6%, 47.9%, 0%, 5.1%)
CIE-LABlab(54.30, 18.55, -64.34)
CIE-LCHlch(54.30, 66.97, 286.08°)
OKLaboklab(61.21% -0.0307 -0.1849)
OKLCHoklch(61.21% 0.187 260.6)
XYZxyz(25.2857, 22.2594, 86.9510)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7EF2 #F2AF3B
analogous
#3BD9F2 #3B7EF2 #543BF2
triadic
#3B7EF2 #F23B7E #7EF23B
tetradic
#3B7EF2 #F23BD9 #F2AF3B #3BF254
square
#3B7EF2 #F23BD9 #F2AF3B #3BF254
split-complementary
#3B7EF2 #F2543B #D9F23B
monochromatic
#0B44A7 #0F5CE1 #3B7EF2 #74A4F6 #AECAFA

Accessibility & contrast

On white

3.85
#3B7EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#3B7EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B7EF2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7EF2#FFFFFF#000000##000000
##3B7EF21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B8BF6
Deuteranopia (green-blind)
#007AF0
Tritanopia (blue-blind)
#009AAC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3b7ef2;
/* rgb */ color: rgb(59, 126, 242);
/* oklch */ color: oklch(61.2% 0.187 260.6);
Tailwind
colors: {
  custom: {
    50: '#89a2f7',
    500: '#3b7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #3b7ef2;
$custom-light: #89a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7ef2",
  "rgb": {
    "r": 59,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 218.033,
    "s": 87.56,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61208,
    "c": 0.18744,
    "h": 260.6
  },
  "luminance": 0.22262
}

Semantic roles & 50–950 ramp

primary
#3B7EF2
secondary
#E8CEA0
accent
#B02AFE
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0D0F17
muted
#7E7E85

Preview Lab

Preview with #3B7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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