#3150D0#3150D0

#3150D0 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.1% C 0.200 H 267.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#3150D0
RGBrgb(49, 80, 208)
HSLhsl(228, 63%, 50%)
HSVhsv(228, 76%, 82%)
CMYKcmyk(76.4%, 61.5%, 0%, 18.4%)
CIE-LABlab(39.48, 34.11, -69.17)
CIE-LCHlch(39.48, 77.13, 296.25°)
OKLaboklab(49.15% -0.0082 -0.2)
OKLCHoklch(49.15% 0.2 267.6)
XYZxyz(15.5165, 10.9426, 60.9566)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3150D0 #D0B131
analogous
#319FD0 #3150D0 #6131D0
triadic
#3150D0 #D03150 #50D031
tetradic
#3150D0 #D0319F #D0B131 #31D061
square
#3150D0 #D0319F #D0B131 #31D061
split-complementary
#3150D0 #D06131 #9FD031
monochromatic
#19296E #243C9F #3150D0 #637ADB #95A5E7

Accessibility & contrast

On white

6.59
#3150D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3150D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3150D0
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3150D0#FFFFFF#000000##FFFFFF
##3150D01.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D4
Deuteranopia (green-blind)
#0056CE
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3150d0;
/* rgb */ color: rgb(49, 80, 208);
/* oklch */ color: oklch(49.1% 0.200 267.6);
Tailwind
colors: {
  custom: {
    50: '#8180df',
    500: '#3150d0',
    950: '#000000',
  },
}
SCSS
$custom: #3150d0;
$custom-light: #8180df;
$custom-dark: #000000;
JSON
{
  "hex": "#3150d0",
  "rgb": {
    "r": 49,
    "g": 80,
    "b": 208
  },
  "hsl": {
    "h": 228.302,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49145,
    "c": 0.20016,
    "h": 267.6
  },
  "luminance": 0.10944
}

Semantic roles & 50–950 ramp

primary
#3150D0
secondary
#D2C48B
accent
#C642E6
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3150D0

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

Preview Lab → · Contrast checker → · Palette generator →

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