#3A7BD9#3A7BD9

#3A7BD9 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.9% C 0.159 H 258.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3A7BD9
RGBrgb(58, 123, 217)
HSLhsl(215, 68%, 54%)
HSVhsv(215, 73%, 85%)
CMYKcmyk(73.3%, 43.3%, 0%, 14.9%)
CIE-LABlab(51.92, 11.17, -54.17)
CIE-LCHlch(51.92, 55.31, 281.66°)
OKLaboklab(58.87% -0.0331 -0.155)
OKLCHoklch(58.87% 0.159 258)
XYZxyz(21.3477, 20.0728, 68.3816)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BD9 #D9983A
analogous
#3ACBD9 #3A7BD9 #493AD9
triadic
#3A7BD9 #D93A7B #7BD93A
tetradic
#3A7BD9 #D93ACB #D9983A #3AD949
square
#3A7BD9 #D93ACB #D9983A #3AD949
split-complementary
#3A7BD9 #D9493A #CBD93A
monochromatic
#194380 #235EB3 #3A7BD9 #6D9DE3 #A1C0ED

Accessibility & contrast

On white

4.19
#3A7BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#3A7BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BD9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BD9#FFFFFF#000000##000000
##3A7BD91.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DD
Deuteranopia (green-blind)
#2E75D7
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7bd9;
/* rgb */ color: rgb(58, 123, 217);
/* oklch */ color: oklch(58.9% 0.159 258.0);
Tailwind
colors: {
  custom: {
    50: '#84a0e5',
    500: '#3a7bd9',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bd9;
$custom-light: #84a0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bd9",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 215.472,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58874,
    "c": 0.15853,
    "h": 258
  },
  "luminance": 0.20075
}

Semantic roles & 50–950 ramp

primary
#3A7BD9
secondary
#D9BE95
accent
#A43DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #3A7BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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