#3155AD#3155AD

#3155AD is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.3% C 0.147 H 264.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#3155AD
RGBrgb(49, 85, 173)
HSLhsl(223, 56%, 44%)
HSVhsv(223, 72%, 68%)
CMYKcmyk(71.7%, 50.9%, 0%, 32.2%)
CIE-LABlab(38.14, 17.86, -50.91)
CIE-LCHlch(38.14, 53.95, 289.33°)
OKLaboklab(47.3% -0.0137 -0.1462)
OKLCHoklch(47.3% 0.147 264.6)
XYZxyz(12.0553, 10.1658, 40.8539)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155AD #AD8931
analogous
#3193AD #3155AD #4B31AD
triadic
#3155AD #AD3155 #55AD31
tetradic
#3155AD #AD3193 #AD8931 #31AD4B
square
#3155AD #AD3193 #AD8931 #31AD4B
split-complementary
#3155AD #AD4B31 #93AD31
monochromatic
#16264E #233E7D #3155AD #4E73CD #7E99DA

Accessibility & contrast

On white

6.92
#3155AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#3155AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155AD
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155AD#FFFFFF#000000##FFFFFF
##3155AD1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2060B0
Deuteranopia (green-blind)
#0054AB
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3155ad;
/* rgb */ color: rgb(49, 85, 173);
/* oklch */ color: oklch(47.3% 0.147 264.6);
Tailwind
colors: {
  custom: {
    50: '#7984c6',
    500: '#3155ad',
    950: '#000000',
  },
}
SCSS
$custom: #3155ad;
$custom-light: #7984c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3155ad",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 173
  },
  "hsl": {
    "h": 222.581,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47299,
    "c": 0.14689,
    "h": 264.6
  },
  "luminance": 0.10167
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3155AD

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

Preview Lab → · Contrast checker → · Palette generator →

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