#3A7BCB#3A7BCB

#3A7BCB is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.0% C 0.140 H 255.1°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#3A7BCB
RGBrgb(58, 123, 203)
HSLhsl(213, 58%, 51%)
HSVhsv(213, 71%, 80%)
CMYKcmyk(71.4%, 39.4%, 0%, 20.4%)
CIE-LABlab(51.12, 6.09, -47.50)
CIE-LCHlch(51.12, 47.89, 277.31°)
OKLaboklab(58% -0.036 -0.1354)
OKLCHoklch(58% 0.14 255.1)
XYZxyz(19.6034, 19.3751, 59.1950)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BCB #CB8A3A
analogous
#3AC4CB #3A7BCB #413ACB
triadic
#3A7BCB #CB3A7B #7BCB3A
tetradic
#3A7BCB #CB3AC4 #CB8A3A #3ACB41
square
#3A7BCB #CB3AC4 #CB8A3A #3ACB41
split-complementary
#3A7BCB #CB413A #C4CB3A
monochromatic
#1D416E #2A5E9E #3A7BCB #6A9BD8 #9BBCE5

Accessibility & contrast

On white

4.31
#3A7BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#3A7BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BCB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BCB#FFFFFF#000000##000000
##3A7BCB1.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#3F74C9
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7bcb;
/* rgb */ color: rgb(58, 123, 203);
/* oklch */ color: oklch(58.0% 0.140 255.1);
Tailwind
colors: {
  custom: {
    50: '#81a0db',
    500: '#3a7bcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bcb;
$custom-light: #81a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bcb",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 213.103,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57998,
    "c": 0.14016,
    "h": 255.1
  },
  "luminance": 0.19377
}

Semantic roles & 50–950 ramp

primary
#3A7BCB
secondary
#D0B490
accent
#9C46E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A7BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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