#3153B7#3153B7

#3153B7 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.163 H 266.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#3153B7
RGBrgb(49, 83, 183)
HSLhsl(225, 58%, 45%)
HSVhsv(225, 73%, 72%)
CMYKcmyk(73.2%, 54.6%, 0%, 28.2%)
CIE-LABlab(38.30, 22.93, -56.55)
CIE-LCHlch(38.30, 61.02, 292.07°)
OKLaboklab(47.65% -0.0111 -0.1629)
OKLCHoklch(47.65% 0.163 266.1)
XYZxyz(12.9041, 10.2570, 46.0903)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153B7 #B79531
analogous
#3196B7 #3153B7 #5231B7
triadic
#3153B7 #B73153 #53B731
tetradic
#3153B7 #B73196 #B79531 #31B752
square
#3153B7 #B73196 #B79531 #31B752
split-complementary
#3153B7 #B75231 #96B731
monochromatic
#172756 #243D87 #3153B7 #5474D1 #849BDE

Accessibility & contrast

On white

6.88
#3153B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#3153B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3153B7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153B7#FFFFFF#000000##FFFFFF
##3153B71.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BA
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#006B7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3153b7;
/* rgb */ color: rgb(49, 83, 183);
/* oklch */ color: oklch(47.6% 0.163 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b82cd',
    500: '#3153b7',
    950: '#000000',
  },
}
SCSS
$custom: #3153b7;
$custom-light: #7b82cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3153b7",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 183
  },
  "hsl": {
    "h": 224.776,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47647,
    "c": 0.16325,
    "h": 266.1
  },
  "luminance": 0.10258
}

Semantic roles & 50–950 ramp

primary
#3153B7
secondary
#C8B47C
accent
#BA47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #3153B7

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

Preview Lab → · Contrast checker → · Palette generator →

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