#3155BE#3155BE

#3155BE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.170 H 265.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3155BE
RGBrgb(49, 85, 190)
HSLhsl(225, 59%, 47%)
HSVhsv(225, 74%, 75%)
CMYKcmyk(74.2%, 55.3%, 0%, 25.5%)
CIE-LABlab(39.35, 24.24, -58.94)
CIE-LCHlch(39.35, 63.73, 292.35°)
OKLaboklab(48.61% -0.0121 -0.1699)
OKLCHoklch(48.61% 0.17 265.9)
XYZxyz(13.8061, 10.8662, 50.0750)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155BE #BE9A31
analogous
#319CBE #3155BE #5431BE
triadic
#3155BE #BE3155 #55BE31
tetradic
#3155BE #BE319C #BE9A31 #31BE54
square
#3155BE #BE319C #BE9A31 #31BE54
split-complementary
#3155BE #BE5431 #9CBE31
monochromatic
#18295D #243F8D #3155BE #5878D4 #899FE1

Accessibility & contrast

On white

6.62
#3155BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3155BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155BE
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155BE#FFFFFF#000000##FFFFFF
##3155BE1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3155be;
/* rgb */ color: rgb(49, 85, 190);
/* oklch */ color: oklch(48.6% 0.170 265.9);
Tailwind
colors: {
  custom: {
    50: '#7d84d2',
    500: '#3155be',
    950: '#000000',
  },
}
SCSS
$custom: #3155be;
$custom-light: #7d84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3155be",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 224.681,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48606,
    "c": 0.1703,
    "h": 265.9
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3155BE

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

Preview Lab → · Contrast checker → · Palette generator →

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