#3148B1#3148B1

#3148B1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.169 H 269.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3148B1
RGBrgb(49, 72, 177)
HSLhsl(229, 57%, 44%)
HSVhsv(229, 72%, 69%)
CMYKcmyk(72.3%, 59.3%, 0%, 30.6%)
CIE-LABlab(34.92, 27.92, -58.49)
CIE-LCHlch(34.92, 64.81, 295.52°)
OKLaboklab(44.97% -0.0028 -0.1687)
OKLCHoklch(44.97% 0.169 269.1)
XYZxyz(11.5171, 8.4608, 42.6126)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148B1 #B19A31
analogous
#3188B1 #3148B1 #5A31B1
triadic
#3148B1 #B13148 #48B131
tetradic
#3148B1 #B13188 #B19A31 #31B15A
square
#3148B1 #B13188 #B19A31 #31B15A
split-complementary
#3148B1 #B15A31 #88B131
monochromatic
#162151 #243581 #3148B1 #5167CF #8091DC

Accessibility & contrast

On white

7.80
#3148B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3148B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148B1
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148B1#FFFFFF#000000##FFFFFF
##3148B11.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3148b1;
/* rgb */ color: rgb(49, 72, 177);
/* oklch */ color: oklch(45.0% 0.169 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b7ac9',
    500: '#3148b1',
    950: '#000000',
  },
}
SCSS
$custom: #3148b1;
$custom-light: #7b7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3148b1",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 229.219,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44972,
    "c": 0.16876,
    "h": 269.1
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#3148B1
secondary
#C5B779
accent
#C548E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3148B1

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

Preview Lab → · Contrast checker → · Palette generator →

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