#3155BD#3155BD

#3155BD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.5% C 0.169 H 265.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#3155BD
RGBrgb(49, 85, 189)
HSLhsl(225, 59%, 47%)
HSVhsv(225, 74%, 74%)
CMYKcmyk(74.1%, 55%, 0%, 25.9%)
CIE-LABlab(39.28, 23.86, -58.48)
CIE-LCHlch(39.28, 63.16, 292.20°)
OKLaboklab(48.53% -0.0122 -0.1685)
OKLCHoklch(48.53% 0.169 265.9)
XYZxyz(13.6972, 10.8226, 49.5013)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155BD #BD9931
analogous
#319BBD #3155BD #5331BD
triadic
#3155BD #BD3155 #55BD31
tetradic
#3155BD #BD319B #BD9931 #31BD53
square
#3155BD #BD319B #BD9931 #31BD53
split-complementary
#3155BD #BD5331 #9BBD31
monochromatic
#18295C #243F8C #3155BD #5877D4 #889FE0

Accessibility & contrast

On white

6.64
#3155BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3155BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155BD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155BD#FFFFFF#000000##FFFFFF
##3155BD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3155bd;
/* rgb */ color: rgb(49, 85, 189);
/* oklch */ color: oklch(48.5% 0.169 265.9);
Tailwind
colors: {
  custom: {
    50: '#7c84d2',
    500: '#3155bd',
    950: '#000000',
  },
}
SCSS
$custom: #3155bd;
$custom-light: #7c84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3155bd",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 189
  },
  "hsl": {
    "h": 224.571,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48526,
    "c": 0.16895,
    "h": 265.9
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#3155BD
secondary
#CAB780
accent
#BA46E2
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #3155BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3155BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva