#3181CF#3181CF

#3181CF is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.3% C 0.142 H 251.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#3181CF
RGBrgb(49, 129, 207)
HSLhsl(210, 62%, 50%)
HSVhsv(210, 76%, 81%)
CMYKcmyk(76.3%, 37.7%, 0%, 18.8%)
CIE-LABlab(52.79, 2.73, -47.14)
CIE-LCHlch(52.79, 47.22, 273.31°)
OKLaboklab(59.29% -0.046 -0.1344)
OKLCHoklch(59.29% 0.142 251.1)
XYZxyz(20.3751, 20.8561, 61.9712)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181CF #CF7F31
analogous
#31CFCE #3181CF #3132CF
triadic
#3181CF #CF3181 #81CF31
tetradic
#3181CF #CE31CF #CF7F31 #32CF31
square
#3181CF #CE31CF #CF7F31 #32CF31
split-complementary
#3181CF #CF3132 #CFCE31
monochromatic
#19436C #25629E #3181CF #639FDB #94BEE6

Accessibility & contrast

On white

4.06
#3181CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#3181CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181CF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181CF#FFFFFF#000000##000000
##3181CF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4477CD
Tritanopia (blue-blind)
#00949E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3181cf;
/* rgb */ color: rgb(49, 129, 207);
/* oklch */ color: oklch(59.3% 0.142 251.1);
Tailwind
colors: {
  custom: {
    50: '#7fa5de',
    500: '#3181cf',
    950: '#000000',
  },
}
SCSS
$custom: #3181cf;
$custom-light: #7fa5de;
$custom-dark: #000000;
JSON
{
  "hex": "#3181cf",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 209.62,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59293,
    "c": 0.14205,
    "h": 251.1
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#3181CF
secondary
#D1AD8B
accent
#9343E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3181CF

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

Preview Lab → · Contrast checker → · Palette generator →

#3181CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva