#3156D0#3156D0

#3156D0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.193 H 266.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3156D0
RGBrgb(49, 86, 208)
HSLhsl(226, 63%, 50%)
HSVhsv(226, 76%, 82%)
CMYKcmyk(76.4%, 58.7%, 0%, 18.4%)
CIE-LABlab(40.99, 30.27, -66.71)
CIE-LCHlch(40.99, 73.26, 294.41°)
OKLaboklab(50.27% -0.012 -0.1927)
OKLCHoklch(50.27% 0.193 266.4)
XYZxyz(15.9756, 11.8608, 61.1097)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156D0 #D0AB31
analogous
#31A5D0 #3156D0 #5C31D0
triadic
#3156D0 #D03156 #56D031
tetradic
#3156D0 #D031A5 #D0AB31 #31D05C
square
#3156D0 #D031A5 #D0AB31 #31D05C
split-complementary
#3156D0 #D05C31 #A5D031
monochromatic
#192D6E #24419F #3156D0 #637FDB #95A8E7

Accessibility & contrast

On white

6.23
#3156D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3156D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3156D0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3156D0#FFFFFF#000000##FFFFFF
##3156D01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D4
Deuteranopia (green-blind)
#005ACE
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3156d0;
/* rgb */ color: rgb(49, 86, 208);
/* oklch */ color: oklch(50.3% 0.193 266.4);
Tailwind
colors: {
  custom: {
    50: '#8185df',
    500: '#3156d0',
    950: '#000000',
  },
}
SCSS
$custom: #3156d0;
$custom-light: #8185df;
$custom-dark: #000000;
JSON
{
  "hex": "#3156d0",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 208
  },
  "hsl": {
    "h": 226.038,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50268,
    "c": 0.19306,
    "h": 266.4
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#3156D0
secondary
#D2C18B
accent
#C042E6
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3156D0

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

Preview Lab → · Contrast checker → · Palette generator →

#3156D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva