#3155B4#3155B4

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

Color values

HEX#3155B4
RGBrgb(49, 85, 180)
HSLhsl(224, 57%, 45%)
HSVhsv(224, 73%, 71%)
CMYKcmyk(72.8%, 52.8%, 0%, 29.4%)
CIE-LABlab(38.63, 20.49, -54.25)
CIE-LCHlch(38.63, 57.99, 290.69°)
OKLaboklab(47.83% -0.013 -0.1561)
OKLCHoklch(47.83% 0.157 265.3)
XYZxyz(12.7504, 10.4439, 44.5151)
Luminance0.1045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155B4 #B49031
analogous
#3197B4 #3155B4 #4E31B4
triadic
#3155B4 #B43155 #55B431
tetradic
#3155B4 #B43197 #B49031 #31B44E
square
#3155B4 #B43197 #B49031 #31B44E
split-complementary
#3155B4 #B44E31 #97B431
monochromatic
#172854 #243E84 #3155B4 #5275D0 #829BDD

Accessibility & contrast

On white

6.80
#3155B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#3155B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155B4
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155B4#FFFFFF#000000##FFFFFF
##3155B41.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B7
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3155b4;
/* rgb */ color: rgb(49, 85, 180);
/* oklch */ color: oklch(47.8% 0.157 265.3);
Tailwind
colors: {
  custom: {
    50: '#7a84cb',
    500: '#3155b4',
    950: '#000000',
  },
}
SCSS
$custom: #3155b4;
$custom-light: #7a84cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3155b4",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 180
  },
  "hsl": {
    "h": 223.511,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47827,
    "c": 0.15663,
    "h": 265.3
  },
  "luminance": 0.10445
}

Semantic roles & 50–950 ramp

primary
#3155B4
secondary
#C6B17B
accent
#B647E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3155B4

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

Preview Lab → · Contrast checker → · Palette generator →

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