#3155A2#3155A2

#3155A2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.5% C 0.131 H 263.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#3155A2
RGBrgb(49, 85, 162)
HSLhsl(221, 54%, 41%)
HSVhsv(221, 70%, 64%)
CMYKcmyk(69.8%, 47.5%, 0%, 36.5%)
CIE-LABlab(37.40, 13.73, -45.55)
CIE-LCHlch(37.40, 47.57, 286.77°)
OKLaboklab(46.5% -0.0152 -0.1305)
OKLCHoklch(46.5% 0.131 263.3)
XYZxyz(11.0344, 9.7575, 35.4773)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155A2 #A27E31
analogous
#318EA2 #3155A2 #4631A2
triadic
#3155A2 #A23155 #55A231
tetradic
#3155A2 #A2318E #A27E31 #31A246
square
#3155A2 #A2318E #A27E31 #31A246
split-complementary
#3155A2 #A24631 #8EA231
monochromatic
#152444 #233C73 #3155A2 #4871C8 #7796D6

Accessibility & contrast

On white

7.11
#3155A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#3155A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3155A2
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155A2#FFFFFF#000000##FFFFFF
##3155A21.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#1453A0
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3155a2;
/* rgb */ color: rgb(49, 85, 162);
/* oklch */ color: oklch(46.5% 0.131 263.3);
Tailwind
colors: {
  custom: {
    50: '#7784be',
    500: '#3155a2',
    950: '#000000',
  },
}
SCSS
$custom: #3155a2;
$custom-light: #7784be;
$custom-dark: #000000;
JSON
{
  "hex": "#3155a2",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 162
  },
  "hsl": {
    "h": 220.885,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46503,
    "c": 0.13136,
    "h": 263.3
  },
  "luminance": 0.09759
}

Semantic roles & 50–950 ramp

primary
#3155A2
secondary
#BEA571
accent
#AE4BDD
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3155A2

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

Preview Lab → · Contrast checker → · Palette generator →

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