#3148B9#3148B9

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

Color values

HEX#3148B9
RGBrgb(49, 72, 185)
HSLhsl(230, 58%, 46%)
HSVhsv(230, 74%, 73%)
CMYKcmyk(73.5%, 61.1%, 0%, 27.5%)
CIE-LABlab(35.58, 30.86, -62.16)
CIE-LCHlch(35.58, 69.40, 296.40°)
OKLaboklab(45.66% -0.0028 -0.1795)
OKLCHoklch(45.66% 0.18 269.1)
XYZxyz(12.3379, 8.7892, 46.9358)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148B9 #B9A231
analogous
#318CB9 #3148B9 #5E31B9
triadic
#3148B9 #B93148 #48B931
tetradic
#3148B9 #B9318C #B9A231 #31B95E
square
#3148B9 #B9318C #B9A231 #31B95E
split-complementary
#3148B9 #B95E31 #8CB931
monochromatic
#172258 #243589 #3148B9 #556AD2 #8695DF

Accessibility & contrast

On white

7.61
#3148B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3148B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148B9
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148B9#FFFFFF#000000##FFFFFF
##3148B91.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3148b9;
/* rgb */ color: rgb(49, 72, 185);
/* oklch */ color: oklch(45.7% 0.180 269.1);
Tailwind
colors: {
  custom: {
    50: '#7c7acf',
    500: '#3148b9',
    950: '#000000',
  },
}
SCSS
$custom: #3148b9;
$custom-light: #7c7acf;
$custom-dark: #000000;
JSON
{
  "hex": "#3148b9",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 229.853,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.17953,
    "h": 269.1
  },
  "luminance": 0.0879
}

Semantic roles & 50–950 ramp

primary
#3148B9
secondary
#C8BC7D
accent
#C746E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3148B9

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

Preview Lab → · Contrast checker → · Palette generator →

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