#3153B2#3153B2

#3153B2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.156 H 265.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3153B2
RGBrgb(49, 83, 178)
HSLhsl(224, 57%, 45%)
HSVhsv(224, 72%, 70%)
CMYKcmyk(72.5%, 53.4%, 0%, 30.2%)
CIE-LABlab(37.94, 21.06, -54.19)
CIE-LCHlch(37.94, 58.14, 291.23°)
OKLaboklab(47.26% -0.0115 -0.1559)
OKLCHoklch(47.26% 0.156 265.8)
XYZxyz(12.3929, 10.0525, 43.3980)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153B2 #B29031
analogous
#3194B2 #3153B2 #5031B2
triadic
#3153B2 #B23153 #53B231
tetradic
#3153B2 #B23194 #B29031 #31B250
square
#3153B2 #B23194 #B29031 #31B250
split-complementary
#3153B2 #B25031 #94B231
monochromatic
#172652 #243D82 #3153B2 #5172CF #8199DC

Accessibility & contrast

On white

6.97
#3153B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3153B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3153B2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153B2#FFFFFF#000000##FFFFFF
##3153B21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E60B5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3153b2;
/* rgb */ color: rgb(49, 83, 178);
/* oklch */ color: oklch(47.3% 0.156 265.8);
Tailwind
colors: {
  custom: {
    50: '#7a82ca',
    500: '#3153b2',
    950: '#000000',
  },
}
SCSS
$custom: #3153b2;
$custom-light: #7a82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3153b2",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 178
  },
  "hsl": {
    "h": 224.186,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47258,
    "c": 0.15636,
    "h": 265.8
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#3153B2
secondary
#C5B179
accent
#B848E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3153B2

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

Preview Lab → · Contrast checker → · Palette generator →

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