#3153EF#3153EF

#3153EF is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.236 H 267.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#3153EF
RGBrgb(49, 83, 239)
HSLhsl(229, 86%, 56%)
HSVhsv(229, 79%, 94%)
CMYKcmyk(79.5%, 65.3%, 0%, 6.3%)
CIE-LABlab(42.87, 43.33, -81.29)
CIE-LCHlch(42.87, 92.12, 298.06°)
OKLaboklab(52.45% -0.0108 -0.2354)
OKLCHoklch(52.45% 0.236 267.4)
XYZxyz(19.9344, 13.0691, 83.1166)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153EF #EFCD31
analogous
#31B2EF #3153EF #6E31EF
triadic
#3153EF #EF3153 #53EF31
tetradic
#3153EF #EF31B2 #EFCD31 #31EF6E
square
#3153EF #EF31B2 #EFCD31 #31EF6E
split-complementary
#3153EF #EF6E31 #B2EF31
monochromatic
#0C259A #1033D2 #3153EF #6A82F3 #A3B2F8

Accessibility & contrast

On white

5.81
#3153EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#3153EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3153EF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153EF#FFFFFF#000000##FFFFFF
##3153EF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF4
Deuteranopia (green-blind)
#005CEC
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3153ef;
/* rgb */ color: rgb(49, 83, 239);
/* oklch */ color: oklch(52.5% 0.236 267.4);
Tailwind
colors: {
  custom: {
    50: '#8883f6',
    500: '#3153ef',
    950: '#000000',
  },
}
SCSS
$custom: #3153ef;
$custom-light: #8883f6;
$custom-dark: #000000;
JSON
{
  "hex": "#3153ef",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 239
  },
  "hsl": {
    "h": 229.263,
    "s": 85.586,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52454,
    "c": 0.23567,
    "h": 267.4
  },
  "luminance": 0.13071
}

Semantic roles & 50–950 ramp

primary
#3153EF
secondary
#E5D797
accent
#D72CFC
background
#F9F8FF
surface
#F2EFFF
border
#CCCAD7
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #3153EF

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

Preview Lab → · Contrast checker → · Palette generator →

#3153EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva