#3155AA#3155AA

#3155AA is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.1% C 0.143 H 264.3°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#3155AA
RGBrgb(49, 85, 170)
HSLhsl(222, 55%, 43%)
HSVhsv(222, 71%, 67%)
CMYKcmyk(71.2%, 50%, 0%, 33.3%)
CIE-LABlab(37.93, 16.73, -49.46)
CIE-LCHlch(37.93, 52.22, 288.69°)
OKLaboklab(47.08% -0.0141 -0.142)
OKLCHoklch(47.08% 0.143 264.3)
XYZxyz(11.7683, 10.0510, 39.3423)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155AA #AA8631
analogous
#3191AA #3155AA #4A31AA
triadic
#3155AA #AA3155 #55AA31
tetradic
#3155AA #AA3191 #AA8631 #31AA4A
square
#3155AA #AA3191 #AA8631 #31AA4A
split-complementary
#3155AA #AA4A31 #91AA31
monochromatic
#16254B #233D7A #3155AA #4D72CC #7C98D9

Accessibility & contrast

On white

6.98
#3155AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3155AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3155AA#FFFFFF#000000##FFFFFF
##3155AA1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245FAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3155aa;
/* rgb */ color: rgb(49, 85, 170);
/* oklch */ color: oklch(47.1% 0.143 264.3);
Tailwind
colors: {
  custom: {
    50: '#7884c4',
    500: '#3155aa',
    950: '#000000',
  },
}
SCSS
$custom: #3155aa;
$custom-light: #7884c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3155aa",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 170
  },
  "hsl": {
    "h": 222.149,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47078,
    "c": 0.14269,
    "h": 264.3
  },
  "luminance": 0.10052
}

Semantic roles & 50–950 ramp

primary
#3155AA
secondary
#C2AB75
accent
#B249DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3155AA

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

Preview Lab → · Contrast checker → · Palette generator →

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