#3A7CDF#3A7CDF

#3A7CDF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.5% C 0.165 H 258.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3A7CDF
RGBrgb(58, 124, 223)
HSLhsl(216, 72%, 55%)
HSVhsv(216, 74%, 87%)
CMYKcmyk(74%, 44.4%, 0%, 12.5%)
CIE-LABlab(52.55, 12.74, -56.54)
CIE-LCHlch(52.55, 57.95, 282.70°)
OKLaboklab(59.48% -0.0328 -0.162)
OKLCHoklch(59.48% 0.165 258.5)
XYZxyz(22.2670, 20.6401, 72.6081)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7CDF #DF9D3A
analogous
#3ACEDF #3A7CDF #4B3ADF
triadic
#3A7CDF #DF3A7C #7CDF3A
tetradic
#3A7CDF #DF3ACE #DF9D3A #3ADF4B
square
#3A7CDF #DF3ACE #DF9D3A #3ADF4B
split-complementary
#3A7CDF #DF4B3A #CEDF3A
monochromatic
#164488 #1F5EBD #3A7CDF #6F9FE8 #A3C2F0

Accessibility & contrast

On white

4.09
#3A7CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#3A7CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7CDF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7CDF#FFFFFF#000000##000000
##3A7CDF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4986E3
Deuteranopia (green-blind)
#2876DD
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3a7cdf;
/* rgb */ color: rgb(58, 124, 223);
/* oklch */ color: oklch(59.5% 0.165 258.5);
Tailwind
colors: {
  custom: {
    50: '#85a1e9',
    500: '#3a7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #3a7cdf;
$custom-light: #85a1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7cdf",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 216,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59479,
    "c": 0.16527,
    "h": 258.5
  },
  "luminance": 0.20643
}

Semantic roles & 50–950 ramp

primary
#3A7CDF
secondary
#DDC198
accent
#A639EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3A7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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