#3155B3#3155B3

#3155B3 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.8% C 0.155 H 265.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3155B3
RGBrgb(49, 85, 179)
HSLhsl(223, 57%, 45%)
HSVhsv(223, 73%, 70%)
CMYKcmyk(72.6%, 52.5%, 0%, 29.8%)
CIE-LABlab(38.56, 20.12, -53.78)
CIE-LCHlch(38.56, 57.42, 290.51°)
OKLaboklab(47.75% -0.0131 -0.1547)
OKLCHoklch(47.75% 0.155 265.2)
XYZxyz(12.6489, 10.4033, 43.9805)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155B3 #B38F31
analogous
#3196B3 #3155B3 #4E31B3
triadic
#3155B3 #B33155 #55B331
tetradic
#3155B3 #B33196 #B38F31 #31B34E
square
#3155B3 #B33196 #B38F31 #31B34E
split-complementary
#3155B3 #B34E31 #96B331
monochromatic
#172753 #243E83 #3155B3 #5275D0 #829BDD

Accessibility & contrast

On white

6.82
#3155B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3155B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155B3
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155B3#FFFFFF#000000##FFFFFF
##3155B31.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1661B6
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3155b3;
/* rgb */ color: rgb(49, 85, 179);
/* oklch */ color: oklch(47.8% 0.155 265.2);
Tailwind
colors: {
  custom: {
    50: '#7a84ca',
    500: '#3155b3',
    950: '#000000',
  },
}
SCSS
$custom: #3155b3;
$custom-light: #7a84ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3155b3",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 179
  },
  "hsl": {
    "h": 223.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4775,
    "c": 0.15524,
    "h": 265.2
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#3155B3
secondary
#C6B17A
accent
#B648E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3155B3

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

Preview Lab → · Contrast checker → · Palette generator →

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