#3143BC#3143BC

#3143BC is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.189 H 270.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3143BC
RGBrgb(49, 67, 188)
HSLhsl(232, 59%, 46%)
HSVhsv(232, 74%, 74%)
CMYKcmyk(73.9%, 64.4%, 0%, 26.3%)
CIE-LABlab(34.59, 35.16, -65.53)
CIE-LCHlch(34.59, 74.37, 298.21°)
OKLaboklab(45.01% 0.0005 -0.1894)
OKLCHoklch(45.01% 0.189 270.1)
XYZxyz(12.3478, 8.2968, 48.5179)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3143BC #BCAA31
analogous
#3189BC #3143BC #6531BC
triadic
#3143BC #BC3143 #43BC31
tetradic
#3143BC #BC3189 #BCAA31 #31BC65
square
#3143BC #BC3189 #BCAA31 #31BC65
split-complementary
#3143BC #BC6531 #89BC31
monochromatic
#18205B #24328B #3143BC #5767D3 #8893E0

Accessibility & contrast

On white

7.90
#3143BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3143BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3143BC
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3143BC#FFFFFF#000000##FFFFFF
##3143BC1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3143bc;
/* rgb */ color: rgb(49, 67, 188);
/* oklch */ color: oklch(45.0% 0.189 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e77d1',
    500: '#3143bc',
    950: '#000000',
  },
}
SCSS
$custom: #3143bc;
$custom-light: #7e77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3143bc",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 232.23,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45013,
    "c": 0.18944,
    "h": 270.1
  },
  "luminance": 0.08298
}

Semantic roles & 50–950 ramp

primary
#3143BC
secondary
#CAC07F
accent
#CE46E2
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #3143BC

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

Preview Lab → · Contrast checker → · Palette generator →

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