#3148B8#3148B8

#3148B8 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.6% C 0.178 H 269.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#3148B8
RGBrgb(49, 72, 184)
HSLhsl(230, 58%, 46%)
HSVhsv(230, 73%, 72%)
CMYKcmyk(73.4%, 60.9%, 0%, 27.8%)
CIE-LABlab(35.49, 30.49, -61.70)
CIE-LCHlch(35.49, 68.83, 296.30°)
OKLaboklab(45.57% -0.0028 -0.1782)
OKLCHoklch(45.57% 0.178 269.1)
XYZxyz(12.2327, 8.7471, 46.3818)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148B8 #B8A131
analogous
#318BB8 #3148B8 #5D31B8
triadic
#3148B8 #B83148 #48B831
tetradic
#3148B8 #B8318B #B8A131 #31B85D
square
#3148B8 #B8318B #B8A131 #31B85D
split-complementary
#3148B8 #B85D31 #8BB831
monochromatic
#172257 #243588 #3148B8 #556AD2 #8594DE

Accessibility & contrast

On white

7.64
#3148B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3148B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148B8
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148B8#FFFFFF#000000##FFFFFF
##3148B81.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004DB6
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3148b8;
/* rgb */ color: rgb(49, 72, 184);
/* oklch */ color: oklch(45.6% 0.178 269.1);
Tailwind
colors: {
  custom: {
    50: '#7c7ace',
    500: '#3148b8',
    950: '#000000',
  },
}
SCSS
$custom: #3148b8;
$custom-light: #7c7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3148b8",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 229.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45571,
    "c": 0.1782,
    "h": 269.1
  },
  "luminance": 0.08748
}

Semantic roles & 50–950 ramp

primary
#3148B8
secondary
#C8BB7D
accent
#C747E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3148B8

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

Preview Lab → · Contrast checker → · Palette generator →

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