#3150CA#3150CA

#3150CA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.192 H 267.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3150CA
RGBrgb(49, 80, 202)
HSLhsl(228, 61%, 49%)
HSVhsv(228, 76%, 79%)
CMYKcmyk(75.7%, 60.4%, 0%, 20.8%)
CIE-LABlab(38.99, 31.92, -66.51)
CIE-LCHlch(38.99, 73.78, 295.64°)
OKLaboklab(48.63% -0.0082 -0.1922)
OKLCHoklch(48.63% 0.192 267.6)
XYZxyz(14.7922, 10.6529, 57.1423)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3150CA #CAAB31
analogous
#319DCA #3150CA #5F31CA
triadic
#3150CA #CA3150 #50CA31
tetradic
#3150CA #CA319D #CAAB31 #31CA5F
square
#3150CA #CA319D #CAAB31 #31CA5F
split-complementary
#3150CA #CA5F31 #9DCA31
monochromatic
#192967 #253C99 #3150CA #6078D8 #91A2E4

Accessibility & contrast

On white

6.71
#3150CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3150CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3150CA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3150CA#FFFFFF#000000##FFFFFF
##3150CA1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0055C8
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3150ca;
/* rgb */ color: rgb(49, 80, 202);
/* oklch */ color: oklch(48.6% 0.192 267.6);
Tailwind
colors: {
  custom: {
    50: '#8080db',
    500: '#3150ca',
    950: '#000000',
  },
}
SCSS
$custom: #3150ca;
$custom-light: #8080db;
$custom-dark: #000000;
JSON
{
  "hex": "#3150ca",
  "rgb": {
    "r": 49,
    "g": 80,
    "b": 202
  },
  "hsl": {
    "h": 227.843,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48625,
    "c": 0.19237,
    "h": 267.6
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#3150CA
secondary
#CFC188
accent
#C444E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3150CA

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

Preview Lab → · Contrast checker → · Palette generator →

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