#3A7ADF#3A7ADF

#3A7ADF is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.1% C 0.168 H 259.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3A7ADF
RGBrgb(58, 122, 223)
HSLhsl(217, 72%, 55%)
HSVhsv(217, 74%, 87%)
CMYKcmyk(74%, 45.3%, 0%, 12.5%)
CIE-LABlab(52.00, 13.98, -57.42)
CIE-LCHlch(52.00, 59.10, 283.68°)
OKLaboklab(59.05% -0.0311 -0.1646)
OKLCHoklch(59.05% 0.168 259.3)
XYZxyz(22.0189, 20.1439, 72.5254)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7ADF #DF9F3A
analogous
#3ACDDF #3A7ADF #4C3ADF
triadic
#3A7ADF #DF3A7A #7ADF3A
tetradic
#3A7ADF #DF3ACD #DF9F3A #3ADF4C
square
#3A7ADF #DF3ACD #DF9F3A #3ADF4C
split-complementary
#3A7ADF #DF4C3A #CDDF3A
monochromatic
#164288 #1F5CBD #3A7ADF #6F9EE8 #A3C1F0

Accessibility & contrast

On white

4.18
#3A7ADF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3A7ADF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7ADF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7ADF#FFFFFF#000000##000000
##3A7ADF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4584E3
Deuteranopia (green-blind)
#2075DD
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7adf;
/* rgb */ color: rgb(58, 122, 223);
/* oklch */ color: oklch(59.1% 0.168 259.3);
Tailwind
colors: {
  custom: {
    50: '#859fe9',
    500: '#3a7adf',
    950: '#000000',
  },
}
SCSS
$custom: #3a7adf;
$custom-light: #859fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7adf",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 223
  },
  "hsl": {
    "h": 216.727,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59051,
    "c": 0.16754,
    "h": 259.3
  },
  "luminance": 0.20146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A7ADF

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

Preview Lab → · Contrast checker → · Palette generator →

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