#3153A1#3153A1

#3153A1 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.132 H 264.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3153A1
RGBrgb(49, 83, 161)
HSLhsl(222, 53%, 41%)
HSVhsv(222, 70%, 63%)
CMYKcmyk(69.6%, 48.4%, 0%, 36.9%)
CIE-LABlab(36.77, 14.67, -45.98)
CIE-LCHlch(36.77, 48.26, 287.70°)
OKLaboklab(45.99% -0.0135 -0.1318)
OKLCHoklch(45.99% 0.132 264.2)
XYZxyz(10.7906, 9.4116, 34.9592)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153A1 #A17F31
analogous
#318BA1 #3153A1 #4731A1
triadic
#3153A1 #A13153 #53A131
tetradic
#3153A1 #A1318B #A17F31 #31A147
square
#3153A1 #A1318B #A17F31 #31A147
split-complementary
#3153A1 #A14731 #8BA131
monochromatic
#142343 #233B72 #3153A1 #486FC7 #7794D6

Accessibility & contrast

On white

7.29
#3153A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3153A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3153A1
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153A1#FFFFFF#000000##FFFFFF
##3153A11.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5CA4
Deuteranopia (green-blind)
#0E529F
Tritanopia (blue-blind)
#006572
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3153a1;
/* rgb */ color: rgb(49, 83, 161);
/* oklch */ color: oklch(46.0% 0.132 264.2);
Tailwind
colors: {
  custom: {
    50: '#7782bd',
    500: '#3153a1',
    950: '#000000',
  },
}
SCSS
$custom: #3153a1;
$custom-light: #7782bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3153a1",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 161
  },
  "hsl": {
    "h": 221.786,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45993,
    "c": 0.13246,
    "h": 264.2
  },
  "luminance": 0.09413
}

Semantic roles & 50–950 ramp

primary
#3153A1
secondary
#BEA670
accent
#B14BDD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3153A1

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

Preview Lab → · Contrast checker → · Palette generator →

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