#3155BC#3155BC

#3155BC is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.168 H 265.8°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3155BC
RGBrgb(49, 85, 188)
HSLhsl(224, 59%, 46%)
HSVhsv(224, 74%, 74%)
CMYKcmyk(73.9%, 54.8%, 0%, 26.3%)
CIE-LABlab(39.21, 23.49, -58.01)
CIE-LCHlch(39.21, 62.59, 292.05°)
OKLaboklab(48.45% -0.0123 -0.1671)
OKLCHoklch(48.45% 0.168 265.8)
XYZxyz(13.5890, 10.7793, 48.9316)
Luminance0.1078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155BC #BC9831
analogous
#319BBC #3155BC #5231BC
triadic
#3155BC #BC3155 #55BC31
tetradic
#3155BC #BC319B #BC9831 #31BC52
square
#3155BC #BC319B #BC9831 #31BC52
split-complementary
#3155BC #BC5231 #9BBC31
monochromatic
#18295B #243F8B #3155BC #5777D3 #889EE0

Accessibility & contrast

On white

6.65
#3155BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3155BC
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155BC#FFFFFF#000000##FFFFFF
##3155BC1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3155bc;
/* rgb */ color: rgb(49, 85, 188);
/* oklch */ color: oklch(48.4% 0.168 265.8);
Tailwind
colors: {
  custom: {
    50: '#7c84d1',
    500: '#3155bc',
    950: '#000000',
  },
}
SCSS
$custom: #3155bc;
$custom-light: #7c84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3155bc",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 224.46,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.16759,
    "h": 265.8
  },
  "luminance": 0.10781
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3155BC

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

Preview Lab → · Contrast checker → · Palette generator →

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