#3155B8#3155B8

#3155B8 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.162 H 265.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#3155B8
RGBrgb(49, 85, 184)
HSLhsl(224, 58%, 46%)
HSVhsv(224, 73%, 72%)
CMYKcmyk(73.4%, 53.8%, 0%, 27.8%)
CIE-LABlab(38.91, 21.99, -56.14)
CIE-LCHlch(38.91, 60.29, 291.39°)
OKLaboklab(48.14% -0.0126 -0.1616)
OKLCHoklch(48.14% 0.162 265.5)
XYZxyz(13.1638, 10.6093, 46.6921)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155B8 #B89431
analogous
#3198B8 #3155B8 #5031B8
triadic
#3155B8 #B83155 #55B831
tetradic
#3155B8 #B83198 #B89431 #31B850
square
#3155B8 #B83198 #B89431 #31B850
split-complementary
#3155B8 #B85031 #98B831
monochromatic
#172857 #243F88 #3155B8 #5576D2 #859DDE

Accessibility & contrast

On white

6.73
#3155B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3155B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155B8
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155B8#FFFFFF#000000##FFFFFF
##3155B81.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0762BB
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3155b8;
/* rgb */ color: rgb(49, 85, 184);
/* oklch */ color: oklch(48.1% 0.162 265.5);
Tailwind
colors: {
  custom: {
    50: '#7b84ce',
    500: '#3155b8',
    950: '#000000',
  },
}
SCSS
$custom: #3155b8;
$custom-light: #7b84ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3155b8",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 184
  },
  "hsl": {
    "h": 224,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48135,
    "c": 0.16213,
    "h": 265.5
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#3155B8
secondary
#C8B47D
accent
#B847E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3155B8

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

Preview Lab → · Contrast checker → · Palette generator →

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