#3145BC#3145BC

#3145BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.4% C 0.187 H 269.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3145BC
RGBrgb(49, 69, 188)
HSLhsl(231, 59%, 46%)
HSVhsv(231, 74%, 74%)
CMYKcmyk(73.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(35.08, 33.88, -64.73)
CIE-LCHlch(35.08, 73.06, 297.63°)
OKLaboklab(45.37% -0.0008 -0.1871)
OKLCHoklch(45.37% 0.187 269.7)
XYZxyz(12.4687, 8.5387, 48.5582)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145BC #BCA831
analogous
#318BBC #3145BC #6331BC
triadic
#3145BC #BC3145 #45BC31
tetradic
#3145BC #BC318B #BCA831 #31BC63
square
#3145BC #BC318B #BCA831 #31BC63
split-complementary
#3145BC #BC6331 #8BBC31
monochromatic
#18215B #24338B #3145BC #5769D3 #8894E0

Accessibility & contrast

On white

7.75
#3145BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3145BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145BC
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145BC#FFFFFF#000000##FFFFFF
##3145BC1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3145bc;
/* rgb */ color: rgb(49, 69, 188);
/* oklch */ color: oklch(45.4% 0.187 269.7);
Tailwind
colors: {
  custom: {
    50: '#7d78d1',
    500: '#3145bc',
    950: '#000000',
  },
}
SCSS
$custom: #3145bc;
$custom-light: #7d78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3145bc",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 231.367,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45371,
    "c": 0.18709,
    "h": 269.7
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#3145BC
secondary
#CABF7F
accent
#CB46E2
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #3145BC

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

Preview Lab → · Contrast checker → · Palette generator →

#3145BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva