#3149EA#3149EA

#3149EA is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.4% C 0.240 H 268.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3149EA
RGBrgb(49, 73, 234)
HSLhsl(232, 81%, 55%)
HSVhsv(232, 79%, 92%)
CMYKcmyk(79.1%, 68.8%, 0%, 8.2%)
CIE-LABlab(40.17, 47.61, -82.90)
CIE-LCHlch(40.17, 95.60, 299.87°)
OKLaboklab(50.36% -0.006 -0.2401)
OKLCHoklch(50.36% 0.24 268.6)
XYZxyz(18.4953, 11.3564, 79.0432)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149EA #EAD231
analogous
#31A6EA #3149EA #7531EA
triadic
#3149EA #EA3149 #49EA31
tetradic
#3149EA #EA31A6 #EAD231 #31EA75
square
#3149EA #EA31A6 #EAD231 #31EA75
split-complementary
#3149EA #EA7531 #A6EA31
monochromatic
#0F2092 #152CC9 #3149EA #697AF0 #A0ABF5

Accessibility & contrast

On white

6.42
#3149EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3149EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3149EA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3149EA#FFFFFF#000000##FFFFFF
##3149EA1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EF
Deuteranopia (green-blind)
#0056E7
Tritanopia (blue-blind)
#007694
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3149ea;
/* rgb */ color: rgb(49, 73, 234);
/* oklch */ color: oklch(50.4% 0.240 268.6);
Tailwind
colors: {
  custom: {
    50: '#887cf2',
    500: '#3149ea',
    950: '#000000',
  },
}
SCSS
$custom: #3149ea;
$custom-light: #887cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#3149ea",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 234
  },
  "hsl": {
    "h": 232.216,
    "s": 81.498,
    "l": 55.49
  },
  "oklch": {
    "l": 0.50356,
    "c": 0.24022,
    "h": 268.6
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#3149EA
secondary
#E2D895
accent
#DE30F8
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0917
muted
#7E7B85

Preview Lab

Preview with #3149EA

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

Preview Lab → · Contrast checker → · Palette generator →

#3149EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva