#3156C8#3156C8

#3156C8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.183 H 266.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#3156C8
RGBrgb(49, 86, 200)
HSLhsl(225, 61%, 49%)
HSVhsv(225, 76%, 78%)
CMYKcmyk(75.5%, 57%, 0%, 21.6%)
CIE-LABlab(40.37, 27.31, -63.10)
CIE-LCHlch(40.37, 68.76, 293.41°)
OKLaboklab(49.61% -0.0123 -0.1821)
OKLCHoklch(49.61% 0.183 266.1)
XYZxyz(15.0161, 11.4770, 56.0563)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3156C8 #C8A331
analogous
#31A2C8 #3156C8 #5831C8
triadic
#3156C8 #C83156 #56C831
tetradic
#3156C8 #C831A2 #C8A331 #31C858
square
#3156C8 #C831A2 #C8A331 #31C858
split-complementary
#3156C8 #C85831 #A2C831
monochromatic
#192C66 #254197 #3156C8 #5F7CD8 #90A4E4

Accessibility & contrast

On white

6.37
#3156C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#3156C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3156C8
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3156C8#FFFFFF#000000##FFFFFF
##3156C81.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3156c8;
/* rgb */ color: rgb(49, 86, 200);
/* oklch */ color: oklch(49.6% 0.183 266.1);
Tailwind
colors: {
  custom: {
    50: '#7f85da',
    500: '#3156c8',
    950: '#000000',
  },
}
SCSS
$custom: #3156c8;
$custom-light: #7f85da;
$custom-dark: #000000;
JSON
{
  "hex": "#3156c8",
  "rgb": {
    "r": 49,
    "g": 86,
    "b": 200
  },
  "hsl": {
    "h": 225.298,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49609,
    "c": 0.18251,
    "h": 266.1
  },
  "luminance": 0.11479
}

Semantic roles & 50–950 ramp

primary
#3156C8
secondary
#CEBD86
accent
#BD44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3156C8

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

Preview Lab → · Contrast checker → · Palette generator →

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