#3A7FCA#3A7FCA

#3A7FCA is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.135 H 252.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3A7FCA
RGBrgb(58, 127, 202)
HSLhsl(211, 58%, 51%)
HSVhsv(211, 71%, 79%)
CMYKcmyk(71.3%, 37.1%, 0%, 20.8%)
CIE-LABlab(52.22, 3.30, -45.19)
CIE-LCHlch(52.22, 45.31, 274.18°)
OKLaboklab(58.84% -0.04 -0.1286)
OKLCHoklch(58.84% 0.135 252.7)
XYZxyz(19.9910, 20.3404, 58.7382)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FCA #CA853A
analogous
#3AC7CA #3A7FCA #3D3ACA
triadic
#3A7FCA #CA3A7F #7FCA3A
tetradic
#3A7FCA #CA3AC7 #CA853A #3ACA3D
square
#3A7FCA #CA3AC7 #CA853A #3ACA3D
split-complementary
#3A7FCA #CA3D3A #C7CA3A
monochromatic
#1D436C #2A619D #3A7FCA #6A9ED7 #9ABEE4

Accessibility & contrast

On white

4.14
#3A7FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#3A7FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FCA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FCA#FFFFFF#000000##000000
##3A7FCA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3a7fca;
/* rgb */ color: rgb(58, 127, 202);
/* oklch */ color: oklch(58.8% 0.135 252.7);
Tailwind
colors: {
  custom: {
    50: '#81a3da',
    500: '#3a7fca',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fca;
$custom-light: #81a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fca",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 211.25,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58836,
    "c": 0.1347,
    "h": 252.7
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#3A7FCA
secondary
#D0B190
accent
#9747E1
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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