#3155B0#3155B0

#3155B0 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.151 H 264.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#3155B0
RGBrgb(49, 85, 176)
HSLhsl(223, 56%, 44%)
HSVhsv(223, 72%, 69%)
CMYKcmyk(72.2%, 51.7%, 0%, 31%)
CIE-LABlab(38.35, 18.99, -52.35)
CIE-LCHlch(38.35, 55.69, 289.94°)
OKLaboklab(47.52% -0.0134 -0.1505)
OKLCHoklch(47.52% 0.151 264.9)
XYZxyz(12.3488, 10.2833, 42.3999)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155B0 #B08C31
analogous
#3195B0 #3155B0 #4D31B0
triadic
#3155B0 #B03155 #55B031
tetradic
#3155B0 #B03195 #B08C31 #31B04D
square
#3155B0 #B03195 #B08C31 #31B04D
split-complementary
#3155B0 #B04D31 #95B031
monochromatic
#162750 #243E80 #3155B0 #5074CE #809ADC

Accessibility & contrast

On white

6.87
#3155B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3155B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155B0
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155B0#FFFFFF#000000##FFFFFF
##3155B01.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3155b0;
/* rgb */ color: rgb(49, 85, 176);
/* oklch */ color: oklch(47.5% 0.151 264.9);
Tailwind
colors: {
  custom: {
    50: '#7a84c8',
    500: '#3155b0',
    950: '#000000',
  },
}
SCSS
$custom: #3155b0;
$custom-light: #7a84c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3155b0",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 176
  },
  "hsl": {
    "h": 222.992,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47523,
    "c": 0.15107,
    "h": 264.9
  },
  "luminance": 0.10285
}

Semantic roles & 50–950 ramp

primary
#3155B0
secondary
#C5AF78
accent
#B548E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3155B0

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

Preview Lab → · Contrast checker → · Palette generator →

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