#3145BD#3145BD

#3145BD is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.188 H 269.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3145BD
RGBrgb(49, 69, 189)
HSLhsl(231, 59%, 47%)
HSVhsv(231, 74%, 74%)
CMYKcmyk(74.1%, 63.5%, 0%, 25.9%)
CIE-LABlab(35.17, 34.24, -65.18)
CIE-LCHlch(35.17, 73.63, 297.72°)
OKLaboklab(45.46% -0.0009 -0.1884)
OKLCHoklch(45.46% 0.188 269.7)
XYZxyz(12.5769, 8.5820, 49.1279)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3145BD #BDA931
analogous
#318BBD #3145BD #6331BD
triadic
#3145BD #BD3145 #45BD31
tetradic
#3145BD #BD318B #BDA931 #31BD63
square
#3145BD #BD318B #BDA931 #31BD63
split-complementary
#3145BD #BD6331 #8BBD31
monochromatic
#18225C #24338C #3145BD #5869D4 #8895E0

Accessibility & contrast

On white

7.73
#3145BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3145BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3145BD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3145BD#FFFFFF#000000##FFFFFF
##3145BD1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3145bd;
/* rgb */ color: rgb(49, 69, 189);
/* oklch */ color: oklch(45.5% 0.188 269.7);
Tailwind
colors: {
  custom: {
    50: '#7e78d2',
    500: '#3145bd',
    950: '#000000',
  },
}
SCSS
$custom: #3145bd;
$custom-light: #7e78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3145bd",
  "rgb": {
    "r": 49,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 231.429,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45461,
    "c": 0.1884,
    "h": 269.7
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#3145BD
secondary
#CABF80
accent
#CC46E2
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #3145BD

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

Preview Lab → · Contrast checker → · Palette generator →

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