#3153A5#3153A5

#3153A5 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.138 H 264.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#3153A5
RGBrgb(49, 83, 165)
HSLhsl(222, 54%, 42%)
HSVhsv(222, 70%, 65%)
CMYKcmyk(70.3%, 49.7%, 0%, 35.3%)
CIE-LABlab(37.03, 16.17, -47.94)
CIE-LCHlch(37.03, 50.59, 288.64°)
OKLaboklab(46.28% -0.0129 -0.1375)
OKLCHoklch(46.28% 0.138 264.6)
XYZxyz(11.1490, 9.5550, 36.8467)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153A5 #A58331
analogous
#318DA5 #3153A5 #4931A5
triadic
#3153A5 #A53153 #53A531
tetradic
#3153A5 #A5318D #A58331 #31A549
square
#3153A5 #A5318D #A58331 #31A549
split-complementary
#3153A5 #A54931 #8DA531
monochromatic
#152447 #233B76 #3153A5 #4A6FC9 #7995D7

Accessibility & contrast

On white

7.21
#3153A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#3153A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3153A5
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153A5#FFFFFF#000000##FFFFFF
##3153A51.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#006674
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3153a5;
/* rgb */ color: rgb(49, 83, 165);
/* oklch */ color: oklch(46.3% 0.138 264.6);
Tailwind
colors: {
  custom: {
    50: '#7782c0',
    500: '#3153a5',
    950: '#000000',
  },
}
SCSS
$custom: #3153a5;
$custom-light: #7782c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3153a5",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 165
  },
  "hsl": {
    "h": 222.414,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46282,
    "c": 0.13815,
    "h": 264.6
  },
  "luminance": 0.09556
}

Semantic roles & 50–950 ramp

primary
#3153A5
secondary
#C0A972
accent
#B24ADE
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3153A5

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

Preview Lab → · Contrast checker → · Palette generator →

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