#3A7BCA#3A7BCA

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

Color values

HEX#3A7BCA
RGBrgb(58, 123, 202)
HSLhsl(213, 58%, 51%)
HSVhsv(213, 71%, 79%)
CMYKcmyk(71.3%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.07, 5.73, -47.02)
CIE-LCHlch(51.07, 47.37, 276.95°)
OKLaboklab(57.94% -0.0363 -0.134)
OKLCHoklch(57.94% 0.139 254.9)
XYZxyz(19.4846, 19.3276, 58.5694)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7BCA #CA893A
analogous
#3AC3CA #3A7BCA #413ACA
triadic
#3A7BCA #CA3A7B #7BCA3A
tetradic
#3A7BCA #CA3AC3 #CA893A #3ACA41
square
#3A7BCA #CA3AC3 #CA893A #3ACA41
split-complementary
#3A7BCA #CA413A #C3CA3A
monochromatic
#1D416C #2A5E9D #3A7BCA #6A9BD7 #9ABCE4

Accessibility & contrast

On white

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

On black

4.87
#3A7BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7BCA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7BCA#FFFFFF#000000##000000
##3A7BCA1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#4074C8
Tritanopia (blue-blind)
#008D99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7bca;
/* rgb */ color: rgb(58, 123, 202);
/* oklch */ color: oklch(57.9% 0.139 254.9);
Tailwind
colors: {
  custom: {
    50: '#81a0da',
    500: '#3a7bca',
    950: '#000000',
  },
}
SCSS
$custom: #3a7bca;
$custom-light: #81a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7bca",
  "rgb": {
    "r": 58,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 212.917,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57937,
    "c": 0.13886,
    "h": 254.9
  },
  "luminance": 0.1933
}

Semantic roles & 50–950 ramp

primary
#3A7BCA
secondary
#D0B390
accent
#9B47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3A7BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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