#3A7EAF#3A7EAF

#3A7EAF is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.102 H 242.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#3A7EAF
RGBrgb(58, 126, 175)
HSLhsl(205, 50%, 46%)
HSVhsv(205, 67%, 69%)
CMYKcmyk(66.9%, 28%, 0%, 31.4%)
CIE-LABlab(50.59, -5.63, -32.28)
CIE-LCHlch(50.59, 32.77, 260.11°)
OKLaboklab(57.11% -0.0468 -0.091)
OKLCHoklch(57.11% 0.102 242.8)
XYZxyz(16.9407, 18.9146, 43.3072)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EAF #AF6B3A
analogous
#3AAFA5 #3A7EAF #3A43AF
triadic
#3A7EAF #AF3A7E #7EAF3A
tetradic
#3A7EAF #A53AAF #AF6B3A #43AF3A
square
#3A7EAF #A53AAF #AF6B3A #43AF3A
split-complementary
#3A7EAF #AF3A43 #AFA53A
monochromatic
#1C3C53 #2B5D81 #3A7EAF #5D9CC9 #8BB8D9

Accessibility & contrast

On white

4.39
#3A7EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#3A7EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A7EAF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A7EAF#FFFFFF#000000##000000
##3A7EAF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB1
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #3a7eaf;
/* rgb */ color: rgb(58, 126, 175);
/* oklch */ color: oklch(57.1% 0.102 242.8);
Tailwind
colors: {
  custom: {
    50: '#7da3c7',
    500: '#3a7eaf',
    950: '#000000',
  },
}
SCSS
$custom: #3a7eaf;
$custom-light: #7da3c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7eaf",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 175
  },
  "hsl": {
    "h": 205.128,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57114,
    "c": 0.10231,
    "h": 242.8
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#3A7EAF
secondary
#C39D82
accent
#894EDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3A7EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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