#5195F2#5195F2

#5195F2 is a light, vivid cyan. Relative luminance 0.297; OKLCH L 66.9% C 0.155 H 256.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#5195F2
RGBrgb(81, 149, 242)
HSLhsl(215, 86%, 63%)
HSVhsv(215, 67%, 95%)
CMYKcmyk(66.5%, 38.4%, 0%, 5.1%)
CIE-LABlab(61.35, 7.63, -53.01)
CIE-LCHlch(61.35, 53.56, 278.19°)
OKLaboklab(66.87% -0.0354 -0.1509)
OKLCHoklch(66.87% 0.155 256.8)
XYZxyz(30.1620, 29.6520, 88.1210)
Luminance0.2965 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5195F2 #F2AE51
analogous
#51E6F2 #5195F2 #5D51F2
triadic
#5195F2 #F25195 #95F251
tetradic
#5195F2 #F251E6 #F2AE51 #51F25D
square
#5195F2 #F251E6 #F2AE51 #51F25D
split-complementary
#5195F2 #F25D51 #E6F251
monochromatic
#0E57BB #1872EE #5195F2 #8AB8F6 #C3DAFB

Accessibility & contrast

On white

3.03
#5195F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#5195F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5195F2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5195F2#FFFFFF#000000##000000
##5195F21.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#538DF0
Tritanopia (blue-blind)
#00AAB8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5195f2;
/* rgb */ color: rgb(81, 149, 242);
/* oklch */ color: oklch(66.9% 0.155 256.8);
Tailwind
colors: {
  custom: {
    50: '#92b3f7',
    500: '#5195f2',
    950: '#000000',
  },
}
SCSS
$custom: #5195f2;
$custom-light: #92b3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5195f2",
  "rgb": {
    "r": 81,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 214.658,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66874,
    "c": 0.15502,
    "h": 256.8
  },
  "luminance": 0.29655
}

Semantic roles & 50–950 ramp

primary
#5195F2
secondary
#ECD4B3
accent
#8403E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5195F2

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

Preview Lab → · Contrast checker → · Palette generator →

#5195F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva