#3A7FCB#3A7FCB

#3A7FCB is a mid, vivid cyan. Relative luminance 0.204; OKLCH L 58.9% C 0.136 H 253.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3A7FCB
RGBrgb(58, 127, 203)
HSLhsl(211, 58%, 51%)
HSVhsv(211, 71%, 80%)
CMYKcmyk(71.4%, 37.4%, 0%, 20.4%)
CIE-LABlab(52.27, 3.66, -45.67)
CIE-LCHlch(52.27, 45.82, 274.58°)
OKLaboklab(58.9% -0.0398 -0.13)
OKLCHoklch(58.9% 0.136 253)
XYZxyz(20.1098, 20.3879, 59.3638)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FCB #CB863A
analogous
#3AC8CB #3A7FCB #3D3ACB
triadic
#3A7FCB #CB3A7F #7FCB3A
tetradic
#3A7FCB #CB3AC8 #CB863A #3ACB3D
square
#3A7FCB #CB3AC8 #CB863A #3ACB3D
split-complementary
#3A7FCB #CB3D3A #C8CB3A
monochromatic
#1D436E #2A619E #3A7FCB #6A9ED8 #9BBEE5

Accessibility & contrast

On white

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

On black

5.08
#3A7FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FCB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FCB#FFFFFF#000000##000000
##3A7FCB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a7fcb;
/* rgb */ color: rgb(58, 127, 203);
/* oklch */ color: oklch(58.9% 0.136 253.0);
Tailwind
colors: {
  custom: {
    50: '#81a3db',
    500: '#3a7fcb',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fcb;
$custom-light: #81a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fcb",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 211.448,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58895,
    "c": 0.13598,
    "h": 253
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#3A7FCB
secondary
#D0B290
accent
#9846E1
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A7FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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