#3155A6#3155A6

#3155A6 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.8% C 0.137 H 263.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#3155A6
RGBrgb(49, 85, 166)
HSLhsl(222, 54%, 42%)
HSVhsv(222, 70%, 65%)
CMYKcmyk(70.5%, 48.8%, 0%, 34.9%)
CIE-LABlab(37.67, 15.23, -47.51)
CIE-LCHlch(37.67, 49.89, 287.77°)
OKLaboklab(46.79% -0.0146 -0.1363)
OKLCHoklch(46.79% 0.137 263.9)
XYZxyz(11.3956, 9.9020, 37.3797)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155A6 #A68231
analogous
#3190A6 #3155A6 #4731A6
triadic
#3155A6 #A63155 #55A631
tetradic
#3155A6 #A63190 #A68231 #31A647
square
#3155A6 #A63190 #A68231 #31A647
split-complementary
#3155A6 #A64731 #90A631
monochromatic
#152547 #233D77 #3155A6 #4A72CA #7A97D8

Accessibility & contrast

On white

7.05
#3155A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#3155A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3155A6
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155A6#FFFFFF#000000##FFFFFF
##3155A61.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA9
Deuteranopia (green-blind)
#0854A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3155a6;
/* rgb */ color: rgb(49, 85, 166);
/* oklch */ color: oklch(46.8% 0.137 263.9);
Tailwind
colors: {
  custom: {
    50: '#7784c1',
    500: '#3155a6',
    950: '#000000',
  },
}
SCSS
$custom: #3155a6;
$custom-light: #7784c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3155a6",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 166
  },
  "hsl": {
    "h": 221.538,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.13704,
    "h": 263.9
  },
  "luminance": 0.09903
}

Semantic roles & 50–950 ramp

primary
#3155A6
secondary
#C0A873
accent
#B04ADE
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3155A6

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

Preview Lab → · Contrast checker → · Palette generator →

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