#3155AE#3155AE

#3155AE is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.148 H 264.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3155AE
RGBrgb(49, 85, 174)
HSLhsl(223, 56%, 44%)
HSVhsv(223, 72%, 68%)
CMYKcmyk(71.8%, 51.1%, 0%, 31.8%)
CIE-LABlab(38.21, 18.24, -51.39)
CIE-LCHlch(38.21, 54.53, 289.54°)
OKLaboklab(47.37% -0.0136 -0.1477)
OKLCHoklch(47.37% 0.148 264.7)
XYZxyz(12.1524, 10.2047, 41.3654)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155AE #AE8A31
analogous
#3193AE #3155AE #4B31AE
triadic
#3155AE #AE3155 #55AE31
tetradic
#3155AE #AE3193 #AE8A31 #31AE4B
square
#3155AE #AE3193 #AE8A31 #31AE4B
split-complementary
#3155AE #AE4B31 #93AE31
monochromatic
#16264E #243E7E #3155AE #4F73CD #7F99DB

Accessibility & contrast

On white

6.91
#3155AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3155AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3155AE
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3155AE#FFFFFF#000000##FFFFFF
##3155AE1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3155ae;
/* rgb */ color: rgb(49, 85, 174);
/* oklch */ color: oklch(47.4% 0.148 264.7);
Tailwind
colors: {
  custom: {
    50: '#7984c7',
    500: '#3155ae',
    950: '#000000',
  },
}
SCSS
$custom: #3155ae;
$custom-light: #7984c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3155ae",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 174
  },
  "hsl": {
    "h": 222.72,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.14828,
    "h": 264.7
  },
  "luminance": 0.10206
}

Semantic roles & 50–950 ramp

primary
#3155AE
secondary
#C4AE77
accent
#B448DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3155AE

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

Preview Lab → · Contrast checker → · Palette generator →

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