#3155BB#3155BB

#3155BB is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.166 H 265.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#3155BB
RGBrgb(49, 85, 187)
HSLhsl(224, 58%, 46%)
HSVhsv(224, 74%, 73%)
CMYKcmyk(73.8%, 54.5%, 0%, 26.7%)
CIE-LABlab(39.13, 23.12, -57.54)
CIE-LCHlch(39.13, 62.01, 291.89°)
OKLaboklab(48.37% -0.0124 -0.1658)
OKLCHoklch(48.37% 0.166 265.7)
XYZxyz(13.4816, 10.7364, 48.3659)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155BB #BB9731
analogous
#319ABB #3155BB #5231BB
triadic
#3155BB #BB3155 #55BB31
tetradic
#3155BB #BB319A #BB9731 #31BB52
square
#3155BB #BB319A #BB9731 #31BB52
split-complementary
#3155BB #BB5231 #9ABB31
monochromatic
#18295A #243F8B #3155BB #5677D3 #879EE0

Accessibility & contrast

On white

6.67
#3155BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3155BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155BB
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155BB#FFFFFF#000000##FFFFFF
##3155BB1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3155bb;
/* rgb */ color: rgb(49, 85, 187);
/* oklch */ color: oklch(48.4% 0.166 265.7);
Tailwind
colors: {
  custom: {
    50: '#7c84d0',
    500: '#3155bb',
    950: '#000000',
  },
}
SCSS
$custom: #3155bb;
$custom-light: #7c84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3155bb",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 224.348,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48369,
    "c": 0.16623,
    "h": 265.7
  },
  "luminance": 0.10738
}

Semantic roles & 50–950 ramp

primary
#3155BB
secondary
#C9B67F
accent
#B946E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3155BB

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

Preview Lab → · Contrast checker → · Palette generator →

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