#3148B3#3148B3

#3148B3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.171 H 269.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3148B3
RGBrgb(49, 72, 179)
HSLhsl(229, 57%, 45%)
HSVhsv(229, 73%, 70%)
CMYKcmyk(72.6%, 59.8%, 0%, 29.8%)
CIE-LABlab(35.09, 28.66, -59.41)
CIE-LCHlch(35.09, 65.96, 295.75°)
OKLaboklab(45.14% -0.0028 -0.1715)
OKLCHoklch(45.14% 0.171 269.1)
XYZxyz(11.7179, 8.5412, 43.6701)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148B3 #B39C31
analogous
#3189B3 #3148B3 #5B31B3
triadic
#3148B3 #B33148 #48B331
tetradic
#3148B3 #B33189 #B39C31 #31B35B
square
#3148B3 #B33189 #B39C31 #31B35B
split-complementary
#3148B3 #B35B31 #89B331
monochromatic
#172153 #243583 #3148B3 #5268D0 #8292DD

Accessibility & contrast

On white

7.75
#3148B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3148B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148B3
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148B3#FFFFFF#000000##FFFFFF
##3148B31.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3148b3;
/* rgb */ color: rgb(49, 72, 179);
/* oklch */ color: oklch(45.1% 0.171 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b7acb',
    500: '#3148b3',
    950: '#000000',
  },
}
SCSS
$custom: #3148b3;
$custom-light: #7b7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3148b3",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 229.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45142,
    "c": 0.17148,
    "h": 269.1
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#3148B3
secondary
#C6B87A
accent
#C548E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3148B3

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

Preview Lab → · Contrast checker → · Palette generator →

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