#3A7BDF#3A7BDF

#3A7BDF is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.166 H 258.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3A7BDF
RGBrgb(58, 123, 223)
HSLhsl(216, 72%, 55%)
HSVhsv(216, 74%, 87%)
CMYKcmyk(74%, 44.8%, 0%, 12.5%)
CIE-LABlab(52.28, 13.36, -56.98)
CIE-LCHlch(52.28, 58.53, 283.20°)
OKLaboklab(59.27% -0.032 -0.1633)
OKLCHoklch(59.27% 0.166 258.9)
XYZxyz(22.1423, 20.3907, 72.5666)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BDF #DF9E3A
analogous
#3ACDDF #3A7BDF #4C3ADF
triadic
#3A7BDF #DF3A7B #7BDF3A
tetradic
#3A7BDF #DF3ACD #DF9E3A #3ADF4C
square
#3A7BDF #DF3ACD #DF9E3A #3ADF4C
split-complementary
#3A7BDF #DF4C3A #CDDF3A
monochromatic
#164388 #1F5DBD #3A7BDF #6F9EE8 #A3C2F0

Accessibility & contrast

On white

4.13
#3A7BDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#3A7BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BDF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BDF#FFFFFF#000000##000000
##3A7BDF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#2476DD
Tritanopia (blue-blind)
#0093A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3a7bdf;
/* rgb */ color: rgb(58, 123, 223);
/* oklch */ color: oklch(59.3% 0.166 258.9);
Tailwind
colors: {
  custom: {
    50: '#85a0e9',
    500: '#3a7bdf',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bdf;
$custom-light: #85a0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bdf",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 223
  },
  "hsl": {
    "h": 216.364,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59265,
    "c": 0.1664,
    "h": 258.9
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#3A7BDF
secondary
#DDC298
accent
#A739EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3A7BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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