#3A7CCB#3A7CCB

#3A7CCB is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.2% C 0.139 H 254.6°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3A7CCB
RGBrgb(58, 124, 203)
HSLhsl(213, 58%, 51%)
HSVhsv(213, 71%, 80%)
CMYKcmyk(71.4%, 38.9%, 0%, 20.4%)
CIE-LABlab(51.41, 5.48, -47.05)
CIE-LCHlch(51.41, 47.36, 276.65°)
OKLaboklab(58.22% -0.037 -0.1341)
OKLCHoklch(58.22% 0.139 254.6)
XYZxyz(19.7281, 19.6245, 59.2365)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7CCB #CB893A
analogous
#3AC4CB #3A7CCB #403ACB
triadic
#3A7CCB #CB3A7C #7CCB3A
tetradic
#3A7CCB #CB3AC4 #CB893A #3ACB40
square
#3A7CCB #CB3AC4 #CB893A #3ACB40
split-complementary
#3A7CCB #CB403A #C4CB3A
monochromatic
#1D426E #2A5F9E #3A7CCB #6A9CD8 #9BBCE5

Accessibility & contrast

On white

4.26
#3A7CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3A7CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7CCB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7CCB#FFFFFF#000000##000000
##3A7CCB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5782CE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7ccb;
/* rgb */ color: rgb(58, 124, 203);
/* oklch */ color: oklch(58.2% 0.139 254.6);
Tailwind
colors: {
  custom: {
    50: '#81a1db',
    500: '#3a7ccb',
    950: '#000000',
  },
}
SCSS
$custom: #3a7ccb;
$custom-light: #81a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7ccb",
  "rgb": {
    "r": 58,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 212.69,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.1391,
    "h": 254.6
  },
  "luminance": 0.19627
}

Semantic roles & 50–950 ramp

primary
#3A7CCB
secondary
#D0B390
accent
#9B46E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A7CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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