#3148B4#3148B4

#3148B4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.173 H 269.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3148B4
RGBrgb(49, 72, 180)
HSLhsl(229, 57%, 45%)
HSVhsv(229, 73%, 71%)
CMYKcmyk(72.8%, 60%, 0%, 29.4%)
CIE-LABlab(35.17, 29.02, -59.87)
CIE-LCHlch(35.17, 66.54, 295.86°)
OKLaboklab(45.23% -0.0028 -0.1728)
OKLCHoklch(45.23% 0.173 269.1)
XYZxyz(11.8194, 8.5818, 44.2047)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148B4 #B49D31
analogous
#3189B4 #3148B4 #5C31B4
triadic
#3148B4 #B43148 #48B431
tetradic
#3148B4 #B43189 #B49D31 #31B45C
square
#3148B4 #B43189 #B49D31 #31B45C
split-complementary
#3148B4 #B45C31 #89B431
monochromatic
#172254 #243584 #3148B4 #5268D0 #8292DD

Accessibility & contrast

On white

7.73
#3148B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3148B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148B4
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148B4#FFFFFF#000000##FFFFFF
##3148B41.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3148b4;
/* rgb */ color: rgb(49, 72, 180);
/* oklch */ color: oklch(45.2% 0.173 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b7acb',
    500: '#3148b4',
    950: '#000000',
  },
}
SCSS
$custom: #3148b4;
$custom-light: #7b7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3148b4",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 229.466,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45227,
    "c": 0.17283,
    "h": 269.1
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#3148B4
secondary
#C6B97B
accent
#C647E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3148B4

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

Preview Lab → · Contrast checker → · Palette generator →

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