#3155C8#3155C8

#3155C8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.184 H 266.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#3155C8
RGBrgb(49, 85, 200)
HSLhsl(226, 61%, 49%)
HSVhsv(226, 76%, 78%)
CMYKcmyk(75.5%, 57.5%, 0%, 21.6%)
CIE-LABlab(40.11, 27.96, -63.52)
CIE-LCHlch(40.11, 69.41, 293.76°)
OKLaboklab(49.41% -0.0116 -0.1834)
OKLCHoklch(49.41% 0.184 266.4)
XYZxyz(14.9368, 11.3184, 56.0298)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155C8 #C8A431
analogous
#31A1C8 #3155C8 #5831C8
triadic
#3155C8 #C83155 #55C831
tetradic
#3155C8 #C831A1 #C8A431 #31C858
square
#3155C8 #C831A1 #C8A431 #31C858
split-complementary
#3155C8 #C85831 #A1C831
monochromatic
#192B66 #254097 #3155C8 #5F7BD8 #90A4E4

Accessibility & contrast

On white

6.43
#3155C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3155C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155C8
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155C8#FFFFFF#000000##FFFFFF
##3155C81.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3155c8;
/* rgb */ color: rgb(49, 85, 200);
/* oklch */ color: oklch(49.4% 0.184 266.4);
Tailwind
colors: {
  custom: {
    50: '#7f84da',
    500: '#3155c8',
    950: '#000000',
  },
}
SCSS
$custom: #3155c8;
$custom-light: #7f84da;
$custom-dark: #000000;
JSON
{
  "hex": "#3155c8",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 200
  },
  "hsl": {
    "h": 225.695,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49413,
    "c": 0.18372,
    "h": 266.4
  },
  "luminance": 0.1132
}

Semantic roles & 50–950 ramp

primary
#3155C8
secondary
#CEBD86
accent
#BE44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #3155C8

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

Preview Lab → · Contrast checker → · Palette generator →

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