#3155B9#3155B9

#3155B9 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.164 H 265.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#3155B9
RGBrgb(49, 85, 185)
HSLhsl(224, 58%, 46%)
HSVhsv(224, 74%, 73%)
CMYKcmyk(73.5%, 54.1%, 0%, 27.5%)
CIE-LABlab(38.99, 22.37, -56.61)
CIE-LCHlch(38.99, 60.87, 291.56°)
OKLaboklab(48.21% -0.0125 -0.163)
OKLCHoklch(48.21% 0.164 265.6)
XYZxyz(13.2690, 10.6513, 47.2461)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155B9 #B99531
analogous
#3199B9 #3155B9 #5131B9
triadic
#3155B9 #B93155 #55B931
tetradic
#3155B9 #B93199 #B99531 #31B951
square
#3155B9 #B93199 #B99531 #31B951
split-complementary
#3155B9 #B95131 #99B931
monochromatic
#172958 #243F89 #3155B9 #5576D2 #869DDF

Accessibility & contrast

On white

6.71
#3155B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#3155B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155B9
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155B9#FFFFFF#000000##FFFFFF
##3155B91.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0362BD
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3155b9;
/* rgb */ color: rgb(49, 85, 185);
/* oklch */ color: oklch(48.2% 0.164 265.6);
Tailwind
colors: {
  custom: {
    50: '#7c84cf',
    500: '#3155b9',
    950: '#000000',
  },
}
SCSS
$custom: #3155b9;
$custom-light: #7c84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3155b9",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 185
  },
  "hsl": {
    "h": 224.118,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48212,
    "c": 0.1635,
    "h": 265.6
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#3155B9
secondary
#C8B57D
accent
#B846E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3155B9

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

Preview Lab → · Contrast checker → · Palette generator →

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