#3A7BC9#3A7BC9

#3A7BC9 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.138 H 254.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#3A7BC9
RGBrgb(58, 123, 201)
HSLhsl(213, 57%, 51%)
HSVhsv(213, 71%, 79%)
CMYKcmyk(71.1%, 38.8%, 0%, 21.2%)
CIE-LABlab(51.01, 5.37, -46.54)
CIE-LCHlch(51.01, 46.85, 276.58°)
OKLaboklab(57.88% -0.0365 -0.1326)
OKLCHoklch(57.88% 0.138 254.6)
XYZxyz(19.3666, 19.2804, 57.9478)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BC9 #C9883A
analogous
#3AC3C9 #3A7BC9 #403AC9
triadic
#3A7BC9 #C93A7B #7BC93A
tetradic
#3A7BC9 #C93AC3 #C9883A #3AC940
square
#3A7BC9 #C93AC3 #C9883A #3AC940
split-complementary
#3A7BC9 #C9403A #C3C93A
monochromatic
#1D416B #2B5E9B #3A7BC9 #6A9BD6 #9ABBE3

Accessibility & contrast

On white

4.32
#3A7BC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#3A7BC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BC9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BC9#FFFFFF#000000##000000
##3A7BC91.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CC
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #3a7bc9;
/* rgb */ color: rgb(58, 123, 201);
/* oklch */ color: oklch(57.9% 0.138 254.6);
Tailwind
colors: {
  custom: {
    50: '#81a0da',
    500: '#3a7bc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bc9;
$custom-light: #81a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bc9",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 201
  },
  "hsl": {
    "h": 212.727,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57877,
    "c": 0.13755,
    "h": 254.6
  },
  "luminance": 0.19283
}

Semantic roles & 50–950 ramp

primary
#3A7BC9
secondary
#CFB290
accent
#9B48E0
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A7BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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