#3150C8#3150C8

#3150C8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.190 H 267.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#3150C8
RGBrgb(49, 80, 200)
HSLhsl(228, 61%, 49%)
HSVhsv(228, 76%, 78%)
CMYKcmyk(75.5%, 60%, 0%, 21.6%)
CIE-LABlab(38.83, 31.19, -65.62)
CIE-LCHlch(38.83, 72.65, 295.42°)
OKLaboklab(48.45% -0.0082 -0.1896)
OKLCHoklch(48.45% 0.19 267.5)
XYZxyz(14.5570, 10.5588, 55.9032)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3150C8 #C8A931
analogous
#319CC8 #3150C8 #5E31C8
triadic
#3150C8 #C83150 #50C831
tetradic
#3150C8 #C8319C #C8A931 #31C85E
square
#3150C8 #C8319C #C8A931 #31C85E
split-complementary
#3150C8 #C85E31 #9CC831
monochromatic
#192966 #253C97 #3150C8 #5F77D8 #90A1E4

Accessibility & contrast

On white

6.75
#3150C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3150C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3150C8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3150C8#FFFFFF#000000##FFFFFF
##3150C81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3150c8;
/* rgb */ color: rgb(49, 80, 200);
/* oklch */ color: oklch(48.5% 0.190 267.5);
Tailwind
colors: {
  custom: {
    50: '#7f80da',
    500: '#3150c8',
    950: '#000000',
  },
}
SCSS
$custom: #3150c8;
$custom-light: #7f80da;
$custom-dark: #000000;
JSON
{
  "hex": "#3150c8",
  "rgb": {
    "r": 49,
    "g": 80,
    "b": 200
  },
  "hsl": {
    "h": 227.682,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48454,
    "c": 0.18975,
    "h": 267.5
  },
  "luminance": 0.1056
}

Semantic roles & 50–950 ramp

primary
#3150C8
secondary
#CEC086
accent
#C344E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3150C8

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

Preview Lab → · Contrast checker → · Palette generator →

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