#3148E2#3148E2

#3148E2 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 49.4% C 0.232 H 268.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3148E2
RGBrgb(49, 72, 226)
HSLhsl(232, 75%, 54%)
HSVhsv(232, 78%, 89%)
CMYKcmyk(78.3%, 68.1%, 0%, 11.4%)
CIE-LABlab(39.20, 45.46, -79.95)
CIE-LCHlch(39.20, 91.97, 299.62°)
OKLaboklab(49.42% -0.0049 -0.2316)
OKLCHoklch(49.42% 0.232 268.8)
XYZxyz(17.3067, 10.7767, 73.1047)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148E2 #E2CB31
analogous
#31A1E2 #3148E2 #7331E2
triadic
#3148E2 #E23148 #48E231
tetradic
#3148E2 #E231A1 #E2CB31 #31E273
square
#3148E2 #E231A1 #E2CB31 #31E273
split-complementary
#3148E2 #E27331 #A1E231
monochromatic
#132286 #1A2FBB #3148E2 #6778EA #9CA7F1

Accessibility & contrast

On white

6.65
#3148E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3148E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3148E2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148E2#FFFFFF#000000##FFFFFF
##3148E21.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E7
Deuteranopia (green-blind)
#0054DF
Tritanopia (blue-blind)
#00738F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3148e2;
/* rgb */ color: rgb(49, 72, 226);
/* oklch */ color: oklch(49.4% 0.232 268.8);
Tailwind
colors: {
  custom: {
    50: '#867bec',
    500: '#3148e2',
    950: '#000000',
  },
}
SCSS
$custom: #3148e2;
$custom-light: #867bec;
$custom-dark: #000000;
JSON
{
  "hex": "#3148e2",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 232.203,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.23161,
    "h": 268.8
  },
  "luminance": 0.10779
}

Semantic roles & 50–950 ramp

primary
#3148E2
secondary
#DDD392
accent
#D936F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3148E2

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

Preview Lab → · Contrast checker → · Palette generator →

#3148E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva