#3181CE#3181CE

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

Color values

HEX#3181CE
RGBrgb(49, 129, 206)
HSLhsl(209, 62%, 50%)
HSVhsv(209, 76%, 81%)
CMYKcmyk(76.2%, 37.4%, 0%, 19.2%)
CIE-LABlab(52.74, 2.36, -46.66)
CIE-LCHlch(52.74, 46.72, 272.90°)
OKLaboklab(59.23% -0.0462 -0.133)
OKLCHoklch(59.23% 0.141 250.8)
XYZxyz(20.2532, 20.8073, 61.3294)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3181CE #CE7E31
analogous
#31CECD #3181CE #3132CE
triadic
#3181CE #CE3181 #81CE31
tetradic
#3181CE #CD31CE #CE7E31 #32CE31
square
#3181CE #CD31CE #CE7E31 #32CE31
split-complementary
#3181CE #CE3132 #CECD31
monochromatic
#19436B #25629D #3181CE #629FDA #94BDE6

Accessibility & contrast

On white

4.07
#3181CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#3181CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3181CE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3181CE#FFFFFF#000000##000000
##3181CE1.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)
#5D86D1
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3181ce;
/* rgb */ color: rgb(49, 129, 206);
/* oklch */ color: oklch(59.2% 0.141 250.8);
Tailwind
colors: {
  custom: {
    50: '#7fa5dd',
    500: '#3181ce',
    950: '#000000',
  },
}
SCSS
$custom: #3181ce;
$custom-light: #7fa5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3181ce",
  "rgb": {
    "r": 49,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 209.427,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.59234,
    "c": 0.1408,
    "h": 250.8
  },
  "luminance": 0.2081
}

Semantic roles & 50–950 ramp

primary
#3181CE
secondary
#D1AD8A
accent
#9243E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3181CE

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

Preview Lab → · Contrast checker → · Palette generator →

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