#3153BA#3153BA

#3153BA is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.167 H 266.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3153BA
RGBrgb(49, 83, 186)
HSLhsl(225, 58%, 46%)
HSVhsv(225, 74%, 73%)
CMYKcmyk(73.7%, 55.4%, 0%, 27.1%)
CIE-LABlab(38.52, 24.05, -57.95)
CIE-LCHlch(38.52, 62.74, 292.54°)
OKLaboklab(47.89% -0.0109 -0.167)
OKLCHoklch(47.89% 0.167 266.3)
XYZxyz(13.2197, 10.3832, 47.7523)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153BA #BA9831
analogous
#3197BA #3153BA #5331BA
triadic
#3153BA #BA3153 #53BA31
tetradic
#3153BA #BA3197 #BA9831 #31BA53
square
#3153BA #BA3197 #BA9831 #31BA53
split-complementary
#3153BA #BA5331 #97BA31
monochromatic
#172859 #243D8A #3153BA #5675D2 #869CDF

Accessibility & contrast

On white

6.82
#3153BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3153BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3153BA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153BA#FFFFFF#000000##FFFFFF
##3153BA1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#006C7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3153ba;
/* rgb */ color: rgb(49, 83, 186);
/* oklch */ color: oklch(47.9% 0.167 266.3);
Tailwind
colors: {
  custom: {
    50: '#7c82cf',
    500: '#3153ba',
    950: '#000000',
  },
}
SCSS
$custom: #3153ba;
$custom-light: #7c82cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3153ba",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 186
  },
  "hsl": {
    "h": 225.109,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.16734,
    "h": 266.3
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#3153BA
secondary
#C9B67E
accent
#BB46E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3153BA

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

Preview Lab → · Contrast checker → · Palette generator →

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