#3153B8#3153B8

#3153B8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.165 H 266.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#3153B8
RGBrgb(49, 83, 184)
HSLhsl(225, 58%, 46%)
HSVhsv(225, 73%, 72%)
CMYKcmyk(73.4%, 54.9%, 0%, 27.8%)
CIE-LABlab(38.37, 23.30, -57.02)
CIE-LCHlch(38.37, 61.60, 292.23°)
OKLaboklab(47.73% -0.011 -0.1642)
OKLCHoklch(47.73% 0.165 266.2)
XYZxyz(13.0086, 10.2988, 46.6404)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3153B8 #B89631
analogous
#3196B8 #3153B8 #5231B8
triadic
#3153B8 #B83153 #53B831
tetradic
#3153B8 #B83196 #B89631 #31B852
square
#3153B8 #B83196 #B89631 #31B852
split-complementary
#3153B8 #B85231 #96B831
monochromatic
#172757 #243D88 #3153B8 #5574D2 #859BDE

Accessibility & contrast

On white

6.86
#3153B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#3153B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3153B8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3153B8#FFFFFF#000000##FFFFFF
##3153B81.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#0054B6
Tritanopia (blue-blind)
#006C7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3153b8;
/* rgb */ color: rgb(49, 83, 184);
/* oklch */ color: oklch(47.7% 0.165 266.2);
Tailwind
colors: {
  custom: {
    50: '#7b82ce',
    500: '#3153b8',
    950: '#000000',
  },
}
SCSS
$custom: #3153b8;
$custom-light: #7b82ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3153b8",
  "rgb": {
    "r": 49,
    "g": 83,
    "b": 184
  },
  "hsl": {
    "h": 224.889,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47726,
    "c": 0.16462,
    "h": 266.2
  },
  "luminance": 0.103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3153B8

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

Preview Lab → · Contrast checker → · Palette generator →

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