#3153B3#3153B3

#3153B3 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.3% C 0.158 H 265.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#3153B3
RGBrgb(49, 83, 179)
HSLhsl(224, 57%, 45%)
HSVhsv(224, 73%, 70%)
CMYKcmyk(72.6%, 53.6%, 0%, 29.8%)
CIE-LABlab(38.01, 21.43, -54.67)
CIE-LCHlch(38.01, 58.72, 291.41°)
OKLaboklab(47.34% -0.0114 -0.1573)
OKLCHoklch(47.34% 0.158 265.9)
XYZxyz(12.4937, 10.0928, 43.9288)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153B3 #B39131
analogous
#3194B3 #3153B3 #5031B3
triadic
#3153B3 #B33153 #53B331
tetradic
#3153B3 #B33194 #B39131 #31B350
square
#3153B3 #B33194 #B39131 #31B350
split-complementary
#3153B3 #B35031 #94B331
monochromatic
#172653 #243D83 #3153B3 #5273D0 #8299DD

Accessibility & contrast

On white

6.96
#3153B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3153B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3153B3
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153B3#FFFFFF#000000##FFFFFF
##3153B31.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B60B6
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3153b3;
/* rgb */ color: rgb(49, 83, 179);
/* oklch */ color: oklch(47.3% 0.158 265.9);
Tailwind
colors: {
  custom: {
    50: '#7a82ca',
    500: '#3153b3',
    950: '#000000',
  },
}
SCSS
$custom: #3153b3;
$custom-light: #7a82ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3153b3",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 179
  },
  "hsl": {
    "h": 224.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47335,
    "c": 0.15774,
    "h": 265.9
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#3153B3
secondary
#C6B27A
accent
#B848E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #3153B3

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

Preview Lab → · Contrast checker → · Palette generator →

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