#3A7BB2#3A7BB2

#3A7BB2 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.6% C 0.108 H 246.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3A7BB2
RGBrgb(58, 123, 178)
HSLhsl(208, 51%, 46%)
HSVhsv(208, 67%, 70%)
CMYKcmyk(67.4%, 30.9%, 0%, 30.2%)
CIE-LABlab(49.83, -2.82, -35.20)
CIE-LCHlch(49.83, 35.31, 265.43°)
OKLaboklab(56.56% -0.0427 -0.0995)
OKLCHoklch(56.56% 0.108 246.8)
XYZxyz(16.8607, 18.2781, 44.7503)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BB2 #B2713A
analogous
#3AB2AD #3A7BB2 #3A3FB2
triadic
#3A7BB2 #B23A7B #7BB23A
tetradic
#3A7BB2 #AD3AB2 #B2713A #3FB23A
square
#3A7BB2 #AD3AB2 #B2713A #3FB23A
split-complementary
#3A7BB2 #B23A3F #B2AD3A
monochromatic
#1C3B56 #2B5B84 #3A7BB2 #5F99CB #8DB6DA

Accessibility & contrast

On white

4.51
#3A7BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#3A7BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BB2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BB2#FFFFFF#000000##000000
##3A7BB21.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#637DB4
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #3a7bb2;
/* rgb */ color: rgb(58, 123, 178);
/* oklch */ color: oklch(56.6% 0.108 246.8);
Tailwind
colors: {
  custom: {
    50: '#7da0c9',
    500: '#3a7bb2',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bb2;
$custom-light: #7da0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bb2",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 178
  },
  "hsl": {
    "h": 207.5,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56564,
    "c": 0.10826,
    "h": 246.8
  },
  "luminance": 0.1828
}

Semantic roles & 50–950 ramp

primary
#3A7BB2
secondary
#C4A183
accent
#8E4DDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #3A7BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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