#3A7ABC#3A7ABC

#3A7ABC is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.9% C 0.122 H 251.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#3A7ABC
RGBrgb(58, 122, 188)
HSLhsl(210, 53%, 48%)
HSVhsv(210, 69%, 74%)
CMYKcmyk(69.1%, 35.1%, 0%, 26.3%)
CIE-LABlab(50.03, 1.32, -40.64)
CIE-LCHlch(50.03, 40.67, 271.85°)
OKLaboklab(56.89% -0.0388 -0.1154)
OKLCHoklch(56.89% 0.122 251.4)
XYZxyz(17.7782, 18.4476, 50.1910)
Luminance0.1845 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7ABC #BC7C3A
analogous
#3ABBBC #3A7ABC #3B3ABC
triadic
#3A7ABC #BC3A7A #7ABC3A
tetradic
#3A7ABC #BC3ABB #BC7C3A #3ABC3B
square
#3A7ABC #BC3ABB #BC7C3A #3ABC3B
split-complementary
#3A7ABC #BC3B3A #BBBC3A
monochromatic
#1D3D5E #2C5C8D #3A7ABC #6499CF #93B8DE

Accessibility & contrast

On white

4.48
#3A7ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#3A7ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7ABC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7ABC#FFFFFF#000000##000000
##3A7ABC1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#4A71BB
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a7abc;
/* rgb */ color: rgb(58, 122, 188);
/* oklch */ color: oklch(56.9% 0.122 251.4);
Tailwind
colors: {
  custom: {
    50: '#7fa0d0',
    500: '#3a7abc',
    950: '#000000',
  },
}
SCSS
$custom: #3a7abc;
$custom-light: #7fa0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7abc",
  "rgb": {
    "r": 58,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 210.462,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.12174,
    "h": 251.4
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#3A7ABC
secondary
#C9A989
accent
#954CDC
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #3A7ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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