#3153AB#3153AB

#3153AB is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.7% C 0.147 H 265.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3153AB
RGBrgb(49, 83, 171)
HSLhsl(223, 55%, 43%)
HSVhsv(223, 71%, 67%)
CMYKcmyk(71.3%, 51.5%, 0%, 32.9%)
CIE-LABlab(37.44, 18.43, -50.85)
CIE-LCHlch(37.44, 54.08, 289.92°)
OKLaboklab(46.73% -0.0122 -0.1461)
OKLCHoklch(46.73% 0.147 265.2)
XYZxyz(11.7080, 9.7785, 39.7906)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153AB #AB8931
analogous
#3190AB #3153AB #4C31AB
triadic
#3153AB #AB3153 #53AB31
tetradic
#3153AB #AB3190 #AB8931 #31AB4C
square
#3153AB #AB3190 #AB8931 #31AB4C
split-complementary
#3153AB #AB4C31 #90AB31
monochromatic
#16254C #233C7B #3153AB #4D71CC #7D97DA

Accessibility & contrast

On white

7.10
#3153AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3153AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3153AB
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153AB#FFFFFF#000000##FFFFFF
##3153AB1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAE
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#006877
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3153ab;
/* rgb */ color: rgb(49, 83, 171);
/* oklch */ color: oklch(46.7% 0.147 265.2);
Tailwind
colors: {
  custom: {
    50: '#7982c5',
    500: '#3153ab',
    950: '#000000',
  },
}
SCSS
$custom: #3153ab;
$custom-light: #7982c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3153ab",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 171
  },
  "hsl": {
    "h": 223.279,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.14661,
    "h": 265.2
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#3153AB
secondary
#C2AD75
accent
#B549DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #3153AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3153AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva