#3148B7#3148B7

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

Color values

HEX#3148B7
RGBrgb(49, 72, 183)
HSLhsl(230, 58%, 45%)
HSVhsv(230, 73%, 72%)
CMYKcmyk(73.2%, 60.7%, 0%, 28.2%)
CIE-LABlab(35.41, 30.13, -61.25)
CIE-LCHlch(35.41, 68.26, 296.19°)
OKLaboklab(45.49% -0.0028 -0.1768)
OKLCHoklch(45.49% 0.177 269.1)
XYZxyz(12.1283, 8.7053, 45.8317)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148B7 #B7A031
analogous
#318BB7 #3148B7 #5D31B7
triadic
#3148B7 #B73148 #48B731
tetradic
#3148B7 #B7318B #B7A031 #31B75D
square
#3148B7 #B7318B #B7A031 #31B75D
split-complementary
#3148B7 #B75D31 #8BB731
monochromatic
#172256 #243587 #3148B7 #5469D1 #8494DE

Accessibility & contrast

On white

7.66
#3148B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3148B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148B7
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148B7#FFFFFF#000000##FFFFFF
##3148B71.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3148b7;
/* rgb */ color: rgb(49, 72, 183);
/* oklch */ color: oklch(45.5% 0.177 269.1);
Tailwind
colors: {
  custom: {
    50: '#7c7acd',
    500: '#3148b7',
    950: '#000000',
  },
}
SCSS
$custom: #3148b7;
$custom-light: #7c7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3148b7",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 229.701,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45485,
    "c": 0.17686,
    "h": 269.1
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3148B7

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

Preview Lab → · Contrast checker → · Palette generator →

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