#3152CA#3152CA

#3152CA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.190 H 267.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3152CA
RGBrgb(49, 82, 202)
HSLhsl(227, 61%, 49%)
HSVhsv(227, 76%, 79%)
CMYKcmyk(75.7%, 59.4%, 0%, 20.8%)
CIE-LABlab(39.50, 30.64, -65.69)
CIE-LCHlch(39.50, 72.48, 295.01°)
OKLaboklab(49% -0.0095 -0.1897)
OKLCHoklch(49% 0.19 267.1)
XYZxyz(14.9409, 10.9502, 57.1918)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3152CA #CAA931
analogous
#319FCA #3152CA #5D31CA
triadic
#3152CA #CA3152 #52CA31
tetradic
#3152CA #CA319F #CAA931 #31CA5D
square
#3152CA #CA319F #CAA931 #31CA5D
split-complementary
#3152CA #CA5D31 #9FCA31
monochromatic
#192A67 #253E99 #3152CA #607AD8 #91A3E4

Accessibility & contrast

On white

6.58
#3152CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3152CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3152CA
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3152CA#FFFFFF#000000##FFFFFF
##3152CA1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3152ca;
/* rgb */ color: rgb(49, 82, 202);
/* oklch */ color: oklch(49.0% 0.190 267.1);
Tailwind
colors: {
  custom: {
    50: '#8082db',
    500: '#3152ca',
    950: '#000000',
  },
}
SCSS
$custom: #3152ca;
$custom-light: #8082db;
$custom-dark: #000000;
JSON
{
  "hex": "#3152ca",
  "rgb": {
    "r": 49,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 227.059,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49002,
    "c": 0.18998,
    "h": 267.1
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#3152CA
secondary
#CFC088
accent
#C144E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3152CA

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

Preview Lab → · Contrast checker → · Palette generator →

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