#3A81BC#3A81BC

#3A81BC is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.5% C 0.115 H 246.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3A81BC
RGBrgb(58, 129, 188)
HSLhsl(207, 53%, 48%)
HSVhsv(207, 69%, 74%)
CMYKcmyk(69.1%, 31.4%, 0%, 26.3%)
CIE-LABlab(52.09, -2.87, -37.40)
CIE-LCHlch(52.09, 37.51, 265.61°)
OKLaboklab(58.51% -0.0458 -0.1058)
OKLCHoklch(58.51% 0.115 246.6)
XYZxyz(18.6689, 20.2289, 50.4879)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A81BC #BC753A
analogous
#3ABCB6 #3A81BC #3A40BC
triadic
#3A81BC #BC3A81 #81BC3A
tetradic
#3A81BC #B63ABC #BC753A #40BC3A
square
#3A81BC #B63ABC #BC753A #40BC3A
split-complementary
#3A81BC #BC3A40 #BCB63A
monochromatic
#1D415E #2C618D #3A81BC #649FCF #93BCDE

Accessibility & contrast

On white

4.16
#3A81BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#3A81BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A81BC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A81BC#FFFFFF#000000##000000
##3A81BC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BF
Deuteranopia (green-blind)
#5577BB
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a81bc;
/* rgb */ color: rgb(58, 129, 188);
/* oklch */ color: oklch(58.5% 0.115 246.6);
Tailwind
colors: {
  custom: {
    50: '#7fa5d0',
    500: '#3a81bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a81bc;
$custom-light: #7fa5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a81bc",
  "rgb": {
    "r": 58,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 207.231,
    "s": 52.846,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58506,
    "c": 0.11531,
    "h": 246.6
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#3A81BC
secondary
#C9A689
accent
#8D4CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3A81BC

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

Preview Lab → · Contrast checker → · Palette generator →

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