#3155AB#3155AB

#3155AB is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.144 H 264.4°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3155AB
RGBrgb(49, 85, 171)
HSLhsl(222, 55%, 43%)
HSVhsv(222, 71%, 67%)
CMYKcmyk(71.3%, 50.3%, 0%, 32.9%)
CIE-LABlab(38.00, 17.11, -49.94)
CIE-LCHlch(38.00, 52.79, 288.91°)
OKLaboklab(47.15% -0.0139 -0.1434)
OKLCHoklch(47.15% 0.144 264.4)
XYZxyz(11.8632, 10.0890, 39.8423)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155AB #AB8731
analogous
#3192AB #3155AB #4A31AB
triadic
#3155AB #AB3155 #55AB31
tetradic
#3155AB #AB3192 #AB8731 #31AB4A
square
#3155AB #AB3192 #AB8731 #31AB4A
split-complementary
#3155AB #AB4A31 #92AB31
monochromatic
#16264C #233D7B #3155AB #4D73CC #7D98DA

Accessibility & contrast

On white

6.96
#3155AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3155AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155AB
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155AB#FFFFFF#000000##FFFFFF
##3155AB1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235FAE
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3155ab;
/* rgb */ color: rgb(49, 85, 171);
/* oklch */ color: oklch(47.2% 0.144 264.4);
Tailwind
colors: {
  custom: {
    50: '#7984c5',
    500: '#3155ab',
    950: '#000000',
  },
}
SCSS
$custom: #3155ab;
$custom-light: #7984c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3155ab",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 171
  },
  "hsl": {
    "h": 222.295,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47151,
    "c": 0.14409,
    "h": 264.4
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#3155AB
secondary
#C2AC75
accent
#B349DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3155AB

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

Preview Lab → · Contrast checker → · Palette generator →

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