#3148BA#3148BA

#3148BA is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.181 H 269.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3148BA
RGBrgb(49, 72, 186)
HSLhsl(230, 58%, 46%)
HSVhsv(230, 74%, 73%)
CMYKcmyk(73.7%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.66, 31.22, -62.61)
CIE-LCHlch(35.66, 69.97, 296.51°)
OKLaboklab(45.75% -0.0028 -0.1808)
OKLCHoklch(45.75% 0.181 269.1)
XYZxyz(12.4439, 8.8316, 47.4937)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148BA #BAA331
analogous
#318CBA #3148BA #5E31BA
triadic
#3148BA #BA3148 #48BA31
tetradic
#3148BA #BA318C #BAA331 #31BA5E
square
#3148BA #BA318C #BAA331 #31BA5E
split-complementary
#3148BA #BA5E31 #8CBA31
monochromatic
#172259 #24358A #3148BA #566BD2 #8695DF

Accessibility & contrast

On white

7.59
#3148BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3148BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148BA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148BA#FFFFFF#000000##FFFFFF
##3148BA1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3148ba;
/* rgb */ color: rgb(49, 72, 186);
/* oklch */ color: oklch(45.7% 0.181 269.1);
Tailwind
colors: {
  custom: {
    50: '#7d7ad0',
    500: '#3148ba',
    950: '#000000',
  },
}
SCSS
$custom: #3148ba;
$custom-light: #7d7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3148ba",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 229.927,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45745,
    "c": 0.18086,
    "h": 269.1
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#3148BA
secondary
#C9BC7E
accent
#C746E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3148BA

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

Preview Lab → · Contrast checker → · Palette generator →

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