#3B81C8#3B81C8

#3B81C8 is a mid, vivid cyan. Relative luminance 0.208; OKLCH L 59.2% C 0.130 H 251.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3B81C8
RGBrgb(59, 129, 200)
HSLhsl(210, 56%, 51%)
HSVhsv(210, 71%, 78%)
CMYKcmyk(70.5%, 35.5%, 0%, 21.6%)
CIE-LABlab(52.73, 1.53, -43.25)
CIE-LCHlch(52.73, 43.27, 272.02°)
OKLaboklab(59.21% -0.0418 -0.1229)
OKLCHoklch(59.21% 0.13 251.2)
XYZxyz(20.0753, 20.7983, 57.5888)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B81C8 #C8823B
analogous
#3BC7C8 #3B81C8 #3B3BC8
triadic
#3B81C8 #C83B81 #81C83B
tetradic
#3B81C8 #C83BC7 #C8823B #3BC83B
square
#3B81C8 #C83BC7 #C8823B #3BC83B
split-complementary
#3B81C8 #C83B3B #C7C83B
monochromatic
#1E446B #2B639A #3B81C8 #6BA0D5 #9BBEE3

Accessibility & contrast

On white

4.07
#3B81C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#3B81C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3B81C8
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B81C8#FFFFFF#000000##000000
##3B81C81.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CB
Deuteranopia (green-blind)
#4D78C7
Tritanopia (blue-blind)
#00929B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3b81c8;
/* rgb */ color: rgb(59, 129, 200);
/* oklch */ color: oklch(59.2% 0.130 251.2);
Tailwind
colors: {
  custom: {
    50: '#81a5d9',
    500: '#3b81c8',
    950: '#000000',
  },
}
SCSS
$custom: #3b81c8;
$custom-light: #81a5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3b81c8",
  "rgb": {
    "r": 59,
    "g": 129,
    "b": 200
  },
  "hsl": {
    "h": 210.213,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.12979,
    "h": 251.2
  },
  "luminance": 0.208
}

Semantic roles & 50–950 ramp

primary
#3B81C8
secondary
#CFB090
accent
#9448DF
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #3B81C8

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

Preview Lab → · Contrast checker → · Palette generator →

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