#3153B5#3153B5

#3153B5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.5% C 0.161 H 266.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#3153B5
RGBrgb(49, 83, 181)
HSLhsl(225, 57%, 45%)
HSVhsv(225, 73%, 71%)
CMYKcmyk(72.9%, 54.1%, 0%, 29%)
CIE-LABlab(38.15, 22.18, -55.61)
CIE-LCHlch(38.15, 59.87, 291.75°)
OKLaboklab(47.49% -0.0112 -0.1601)
OKLCHoklch(47.49% 0.161 266)
XYZxyz(12.6974, 10.1743, 45.0018)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153B5 #B59331
analogous
#3195B5 #3153B5 #5131B5
triadic
#3153B5 #B53153 #53B531
tetradic
#3153B5 #B53195 #B59331 #31B551
square
#3153B5 #B53195 #B59331 #31B551
split-complementary
#3153B5 #B55131 #95B531
monochromatic
#172755 #243D85 #3153B5 #5373D0 #839ADD

Accessibility & contrast

On white

6.92
#3153B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3153B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3153B5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153B5#FFFFFF#000000##FFFFFF
##3153B51.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0360B8
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3153b5;
/* rgb */ color: rgb(49, 83, 181);
/* oklch */ color: oklch(47.5% 0.161 266.0);
Tailwind
colors: {
  custom: {
    50: '#7b82cc',
    500: '#3153b5',
    950: '#000000',
  },
}
SCSS
$custom: #3153b5;
$custom-light: #7b82cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3153b5",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 181
  },
  "hsl": {
    "h": 224.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47491,
    "c": 0.1605,
    "h": 266
  },
  "luminance": 0.10176
}

Semantic roles & 50–950 ramp

primary
#3153B5
secondary
#C7B37B
accent
#B947E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3153B5

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

Preview Lab → · Contrast checker → · Palette generator →

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