#3148B0#3148B0

#3148B0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.167 H 269.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3148B0
RGBrgb(49, 72, 176)
HSLhsl(229, 56%, 44%)
HSVhsv(229, 72%, 69%)
CMYKcmyk(72.2%, 59.1%, 0%, 31%)
CIE-LABlab(34.84, 27.55, -58.03)
CIE-LCHlch(34.84, 64.24, 295.40°)
OKLaboklab(44.89% -0.0028 -0.1674)
OKLCHoklch(44.89% 0.167 269)
XYZxyz(11.4178, 8.4211, 42.0896)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148B0 #B09931
analogous
#3188B0 #3148B0 #5A31B0
triadic
#3148B0 #B03148 #48B031
tetradic
#3148B0 #B03188 #B09931 #31B05A
square
#3148B0 #B03188 #B09931 #31B05A
split-complementary
#3148B0 #B05A31 #88B031
monochromatic
#162150 #243480 #3148B0 #5067CE #8090DC

Accessibility & contrast

On white

7.82
#3148B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3148B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148B0
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148B0#FFFFFF#000000##FFFFFF
##3148B01.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3148b0;
/* rgb */ color: rgb(49, 72, 176);
/* oklch */ color: oklch(44.9% 0.167 269.0);
Tailwind
colors: {
  custom: {
    50: '#7a7ac8',
    500: '#3148b0',
    950: '#000000',
  },
}
SCSS
$custom: #3148b0;
$custom-light: #7a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3148b0",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 229.134,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.1674,
    "h": 269
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#3148B0
secondary
#C5B778
accent
#C448E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3148B0

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

Preview Lab → · Contrast checker → · Palette generator →

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