#3A7ACC#3A7ACC

#3A7ACC is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.8% C 0.143 H 255.8°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#3A7ACC
RGBrgb(58, 122, 204)
HSLhsl(214, 59%, 51%)
HSVhsv(214, 72%, 80%)
CMYKcmyk(71.6%, 40.2%, 0%, 20%)
CIE-LABlab(50.89, 7.07, -48.44)
CIE-LCHlch(50.89, 48.95, 278.30°)
OKLaboklab(57.84% -0.0349 -0.1382)
OKLCHoklch(57.84% 0.143 255.8)
XYZxyz(19.5995, 19.1761, 59.7835)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7ACC #CC8C3A
analogous
#3AC3CC #3A7ACC #433ACC
triadic
#3A7ACC #CC3A7A #7ACC3A
tetradic
#3A7ACC #CC3AC3 #CC8C3A #3ACC43
square
#3A7ACC #CC3AC3 #CC8C3A #3ACC43
split-complementary
#3A7ACC #CC433A #C3CC3A
monochromatic
#1D416F #295DA0 #3A7ACC #6B9BD9 #9BBCE5

Accessibility & contrast

On white

4.34
#3A7ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#3A7ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7ACC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7ACC#FFFFFF#000000##000000
##3A7ACC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7acc;
/* rgb */ color: rgb(58, 122, 204);
/* oklch */ color: oklch(57.8% 0.143 255.8);
Tailwind
colors: {
  custom: {
    50: '#829fdc',
    500: '#3a7acc',
    950: '#000000',
  },
}
SCSS
$custom: #3a7acc;
$custom-light: #829fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7acc",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 213.699,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57837,
    "c": 0.14255,
    "h": 255.8
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

primary
#3A7ACC
secondary
#D1B591
accent
#9E46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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