#3A7DCB#3A7DCB

#3A7DCB is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.4% C 0.138 H 254.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3A7DCB
RGBrgb(58, 125, 203)
HSLhsl(212, 58%, 51%)
HSVhsv(212, 71%, 80%)
CMYKcmyk(71.4%, 38.4%, 0%, 20.4%)
CIE-LABlab(51.70, 4.87, -46.59)
CIE-LCHlch(51.70, 46.84, 275.97°)
OKLaboklab(58.45% -0.0379 -0.1327)
OKLCHoklch(58.45% 0.138 254.1)
XYZxyz(19.8540, 19.8764, 59.2785)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7DCB #CB883A
analogous
#3AC5CB #3A7DCB #3F3ACB
triadic
#3A7DCB #CB3A7D #7DCB3A
tetradic
#3A7DCB #CB3AC5 #CB883A #3ACB3F
square
#3A7DCB #CB3AC5 #CB883A #3ACB3F
split-complementary
#3A7DCB #CB3F3A #C5CB3A
monochromatic
#1D426E #2A5F9E #3A7DCB #6A9DD8 #9BBDE5

Accessibility & contrast

On white

4.22
#3A7DCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#3A7DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7DCB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7DCB#FFFFFF#000000##000000
##3A7DCB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CE
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3a7dcb;
/* rgb */ color: rgb(58, 125, 203);
/* oklch */ color: oklch(58.4% 0.138 254.1);
Tailwind
colors: {
  custom: {
    50: '#81a2db',
    500: '#3a7dcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a7dcb;
$custom-light: #81a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7dcb",
  "rgb": {
    "r": 58,
    "g": 125,
    "b": 203
  },
  "hsl": {
    "h": 212.276,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.13805,
    "h": 254.1
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#3A7DCB
secondary
#D0B390
accent
#9A46E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #3A7DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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