#3A7EBA#3A7EBA

#3A7EBA is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.7% C 0.115 H 247.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3A7EBA
RGBrgb(58, 126, 186)
HSLhsl(208, 52%, 48%)
HSVhsv(208, 69%, 73%)
CMYKcmyk(68.8%, 32.3%, 0%, 27.1%)
CIE-LABlab(51.11, -1.79, -37.80)
CIE-LCHlch(51.11, 37.84, 267.29°)
OKLaboklab(57.7% -0.0434 -0.107)
OKLCHoklch(57.7% 0.115 247.9)
XYZxyz(18.0654, 19.3645, 49.2305)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A7EBA #BA763A
analogous
#3ABAB6 #3A7EBA #3A3EBA
triadic
#3A7EBA #BA3A7E #7EBA3A
tetradic
#3A7EBA #B63ABA #BA763A #3EBA3A
square
#3A7EBA #B63ABA #BA763A #3EBA3A
split-complementary
#3A7EBA #BA3A3E #BAB63A
monochromatic
#1D3F5D #2B5E8B #3A7EBA #639CCE #92BADD

Accessibility & contrast

On white

4.31
#3A7EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A7EBA#FFFFFF#000000##000000
##3A7EBA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BD
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a7eba;
/* rgb */ color: rgb(58, 126, 186);
/* oklch */ color: oklch(57.7% 0.115 247.9);
Tailwind
colors: {
  custom: {
    50: '#7fa3cf',
    500: '#3a7eba',
    950: '#000000',
  },
}
SCSS
$custom: #3a7eba;
$custom-light: #7fa3cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a7eba",
  "rgb": {
    "r": 58,
    "g": 126,
    "b": 186
  },
  "hsl": {
    "h": 208.125,
    "s": 52.459,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57699,
    "c": 0.11548,
    "h": 247.9
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#3A7EBA
secondary
#C8A688
accent
#8F4CDC
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3A7EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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