#3153A4#3153A4

#3153A4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.137 H 264.5°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#3153A4
RGBrgb(49, 83, 164)
HSLhsl(222, 54%, 42%)
HSVhsv(222, 70%, 64%)
CMYKcmyk(70.1%, 49.4%, 0%, 35.7%)
CIE-LABlab(36.96, 15.80, -47.45)
CIE-LCHlch(36.96, 50.01, 288.41°)
OKLaboklab(46.21% -0.013 -0.1361)
OKLCHoklch(46.21% 0.137 264.5)
XYZxyz(11.0584, 9.5187, 36.3693)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153A4 #A48231
analogous
#318DA4 #3153A4 #4931A4
triadic
#3153A4 #A43153 #53A431
tetradic
#3153A4 #A4318D #A48231 #31A449
square
#3153A4 #A4318D #A48231 #31A449
split-complementary
#3153A4 #A44931 #8DA431
monochromatic
#152346 #233B75 #3153A4 #496FC9 #7994D7

Accessibility & contrast

On white

7.23
#3153A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#3153A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3153A4
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153A4#FFFFFF#000000##FFFFFF
##3153A41.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA7
Deuteranopia (green-blind)
#0452A2
Tritanopia (blue-blind)
#006673
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #3153a4;
/* rgb */ color: rgb(49, 83, 164);
/* oklch */ color: oklch(46.2% 0.137 264.5);
Tailwind
colors: {
  custom: {
    50: '#7782bf',
    500: '#3153a4',
    950: '#000000',
  },
}
SCSS
$custom: #3153a4;
$custom-light: #7782bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3153a4",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 164
  },
  "hsl": {
    "h": 222.261,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46209,
    "c": 0.13672,
    "h": 264.5
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#3153A4
secondary
#BFA872
accent
#B24ADD
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #3153A4

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

Preview Lab → · Contrast checker → · Palette generator →

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