#3155AF#3155AF

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

Color values

HEX#3155AF
RGBrgb(49, 85, 175)
HSLhsl(223, 56%, 44%)
HSVhsv(223, 72%, 69%)
CMYKcmyk(72%, 51.4%, 0%, 31.4%)
CIE-LABlab(38.28, 18.61, -51.87)
CIE-LCHlch(38.28, 55.11, 289.74°)
OKLaboklab(47.45% -0.0135 -0.1491)
OKLCHoklch(47.45% 0.15 264.8)
XYZxyz(12.2503, 10.2438, 41.8808)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3155AF #AF8B31
analogous
#3194AF #3155AF #4C31AF
triadic
#3155AF #AF3155 #55AF31
tetradic
#3155AF #AF3194 #AF8B31 #31AF4C
square
#3155AF #AF3194 #AF8B31 #31AF4C
split-complementary
#3155AF #AF4C31 #94AF31
monochromatic
#16274F #243E7F #3155AF #4F74CE #7F99DB

Accessibility & contrast

On white

6.89
#3155AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3155AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3155AF#FFFFFF#000000##FFFFFF
##3155AF1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3155af;
/* rgb */ color: rgb(49, 85, 175);
/* oklch */ color: oklch(47.4% 0.150 264.8);
Tailwind
colors: {
  custom: {
    50: '#7984c7',
    500: '#3155af',
    950: '#000000',
  },
}
SCSS
$custom: #3155af;
$custom-light: #7984c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3155af",
  "rgb": {
    "r": 49,
    "g": 85,
    "b": 175
  },
  "hsl": {
    "h": 222.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.14969,
    "h": 264.8
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#3155AF
secondary
#C4AE78
accent
#B448E0
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3155AF

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

Preview Lab → · Contrast checker → · Palette generator →

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