#3155AC#3155AC

#3155AC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.2% C 0.145 H 264.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3155AC
RGBrgb(49, 85, 172)
HSLhsl(222, 56%, 43%)
HSVhsv(222, 72%, 67%)
CMYKcmyk(71.5%, 50.6%, 0%, 32.5%)
CIE-LABlab(38.07, 17.49, -50.43)
CIE-LCHlch(38.07, 53.37, 289.12°)
OKLaboklab(47.23% -0.0138 -0.1448)
OKLCHoklch(47.23% 0.145 264.5)
XYZxyz(11.9589, 10.1273, 40.3462)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155AC #AC8831
analogous
#3192AC #3155AC #4A31AC
triadic
#3155AC #AC3155 #55AC31
tetradic
#3155AC #AC3192 #AC8831 #31AC4A
square
#3155AC #AC3192 #AC8831 #31AC4A
split-complementary
#3155AC #AC4A31 #92AC31
monochromatic
#16264D #233D7C #3155AC #4E73CC #7D98DA

Accessibility & contrast

On white

6.94
#3155AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3155AC#FFFFFF#000000##FFFFFF
##3155AC1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3155ac;
/* rgb */ color: rgb(49, 85, 172);
/* oklch */ color: oklch(47.2% 0.145 264.5);
Tailwind
colors: {
  custom: {
    50: '#7984c5',
    500: '#3155ac',
    950: '#000000',
  },
}
SCSS
$custom: #3155ac;
$custom-light: #7984c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3155ac",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 172
  },
  "hsl": {
    "h": 222.439,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47225,
    "c": 0.14549,
    "h": 264.5
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3155AC

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

Preview Lab → · Contrast checker → · Palette generator →

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