#3155BA#3155BA

#3155BA is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.3% C 0.165 H 265.7°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#3155BA
RGBrgb(49, 85, 186)
HSLhsl(224, 58%, 46%)
HSVhsv(224, 74%, 73%)
CMYKcmyk(73.7%, 54.3%, 0%, 27.1%)
CIE-LABlab(39.06, 22.74, -57.08)
CIE-LCHlch(39.06, 61.44, 291.72°)
OKLaboklab(48.29% -0.0124 -0.1644)
OKLCHoklch(48.29% 0.165 265.7)
XYZxyz(13.3749, 10.6937, 47.8041)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155BA #BA9631
analogous
#3199BA #3155BA #5231BA
triadic
#3155BA #BA3155 #55BA31
tetradic
#3155BA #BA3199 #BA9631 #31BA52
square
#3155BA #BA3199 #BA9631 #31BA52
split-complementary
#3155BA #BA5231 #99BA31
monochromatic
#172959 #243F8A #3155BA #5677D2 #869EDF

Accessibility & contrast

On white

6.69
#3155BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#3155BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155BA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155BA#FFFFFF#000000##FFFFFF
##3155BA1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3155ba;
/* rgb */ color: rgb(49, 85, 186);
/* oklch */ color: oklch(48.3% 0.165 265.7);
Tailwind
colors: {
  custom: {
    50: '#7c84cf',
    500: '#3155ba',
    950: '#000000',
  },
}
SCSS
$custom: #3155ba;
$custom-light: #7c84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3155ba",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 186
  },
  "hsl": {
    "h": 224.234,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48291,
    "c": 0.16487,
    "h": 265.7
  },
  "luminance": 0.10695
}

Semantic roles & 50–950 ramp

primary
#3155BA
secondary
#C9B57E
accent
#B946E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3155BA

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

Preview Lab → · Contrast checker → · Palette generator →

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