#3A7DDF#3A7DDF

#3A7DDF is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.7% C 0.164 H 258.2°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3A7DDF
RGBrgb(58, 125, 223)
HSLhsl(216, 72%, 55%)
HSVhsv(216, 74%, 87%)
CMYKcmyk(74%, 43.9%, 0%, 12.5%)
CIE-LABlab(52.83, 12.13, -56.09)
CIE-LCHlch(52.83, 57.39, 282.20°)
OKLaboklab(59.69% -0.0337 -0.1606)
OKLCHoklch(59.69% 0.164 258.2)
XYZxyz(22.3930, 20.8920, 72.6501)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DDF #DF9C3A
analogous
#3AD0DF #3A7DDF #493ADF
triadic
#3A7DDF #DF3A7D #7DDF3A
tetradic
#3A7DDF #DF3AD0 #DF9C3A #3ADF49
square
#3A7DDF #DF3AD0 #DF9C3A #3ADF49
split-complementary
#3A7DDF #DF493A #D0DF3A
monochromatic
#164588 #1F5FBD #3A7DDF #6FA0E8 #A3C2F0

Accessibility & contrast

On white

4.05
#3A7DDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#3A7DDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DDF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DDF#FFFFFF#000000##000000
##3A7DDF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E3
Deuteranopia (green-blind)
#2B77DD
Tritanopia (blue-blind)
#0094A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a7ddf;
/* rgb */ color: rgb(58, 125, 223);
/* oklch */ color: oklch(59.7% 0.164 258.2);
Tailwind
colors: {
  custom: {
    50: '#85a2e9',
    500: '#3a7ddf',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ddf;
$custom-light: #85a2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ddf",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 223
  },
  "hsl": {
    "h": 215.636,
    "s": 72.052,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59693,
    "c": 0.16414,
    "h": 258.2
  },
  "luminance": 0.20894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A7DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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