#3A7FC9#3A7FC9

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

Color values

HEX#3A7FC9
RGBrgb(58, 127, 201)
HSLhsl(211, 57%, 51%)
HSVhsv(211, 71%, 79%)
CMYKcmyk(71.1%, 36.8%, 0%, 21.2%)
CIE-LABlab(52.17, 2.94, -44.71)
CIE-LCHlch(52.17, 44.80, 273.76°)
OKLaboklab(58.78% -0.0403 -0.1272)
OKLCHoklch(58.78% 0.133 252.4)
XYZxyz(19.8730, 20.2932, 58.1166)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7FC9 #C9843A
analogous
#3AC6C9 #3A7FC9 #3C3AC9
triadic
#3A7FC9 #C93A7F #7FC93A
tetradic
#3A7FC9 #C93AC6 #C9843A #3AC93C
square
#3A7FC9 #C93AC6 #C9843A #3AC93C
split-complementary
#3A7FC9 #C93C3A #C6C93A
monochromatic
#1D436B #2B619B #3A7FC9 #6A9ED6 #9ABDE3

Accessibility & contrast

On white

4.15
#3A7FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#3A7FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7FC9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7FC9#FFFFFF#000000##000000
##3A7FC91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CC
Deuteranopia (green-blind)
#4876C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a7fc9;
/* rgb */ color: rgb(58, 127, 201);
/* oklch */ color: oklch(58.8% 0.133 252.4);
Tailwind
colors: {
  custom: {
    50: '#81a3da',
    500: '#3a7fc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a7fc9;
$custom-light: #81a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7fc9",
  "rgb": {
    "r": 58,
    "g": 127,
    "b": 201
  },
  "hsl": {
    "h": 211.049,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58778,
    "c": 0.13342,
    "h": 252.4
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#3A7FC9
secondary
#CFB190
accent
#9748E0
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3A7FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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