#3A7BCC#3A7BCC

#3A7BCC is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.1% C 0.141 H 255.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#3A7BCC
RGBrgb(58, 123, 204)
HSLhsl(213, 59%, 51%)
HSVhsv(213, 72%, 80%)
CMYKcmyk(71.6%, 39.7%, 0%, 20%)
CIE-LABlab(51.18, 6.45, -47.98)
CIE-LCHlch(51.18, 48.42, 277.66°)
OKLaboklab(58.06% -0.0358 -0.1369)
OKLCHoklch(58.06% 0.141 255.3)
XYZxyz(19.7230, 19.4229, 59.8246)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BCC #CC8B3A
analogous
#3AC4CC #3A7BCC #423ACC
triadic
#3A7BCC #CC3A7B #7BCC3A
tetradic
#3A7BCC #CC3AC4 #CC8B3A #3ACC42
square
#3A7BCC #CC3AC4 #CC8B3A #3ACC42
split-complementary
#3A7BCC #CC423A #C4CC3A
monochromatic
#1D416F #295EA0 #3A7BCC #6B9CD9 #9BBCE5

Accessibility & contrast

On white

4.30
#3A7BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#3A7BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BCC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BCC#FFFFFF#000000##000000
##3A7BCC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#3E74CA
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7bcc;
/* rgb */ color: rgb(58, 123, 204);
/* oklch */ color: oklch(58.1% 0.141 255.3);
Tailwind
colors: {
  custom: {
    50: '#82a0dc',
    500: '#3a7bcc',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bcc;
$custom-light: #82a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bcc",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 213.288,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58059,
    "c": 0.14147,
    "h": 255.3
  },
  "luminance": 0.19425
}

Semantic roles & 50–950 ramp

primary
#3A7BCC
secondary
#D1B491
accent
#9C46E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A7BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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