#3143B3#3143B3

#3143B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.178 H 270.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3143B3
RGBrgb(49, 67, 179)
HSLhsl(232, 57%, 45%)
HSVhsv(232, 73%, 70%)
CMYKcmyk(72.6%, 62.6%, 0%, 29.8%)
CIE-LABlab(33.82, 31.91, -61.48)
CIE-LCHlch(33.82, 69.27, 297.43°)
OKLaboklab(44.2% 0.0008 -0.1776)
OKLCHoklch(44.2% 0.178 270.3)
XYZxyz(11.4077, 7.9208, 43.5667)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3143B3 #B3A131
analogous
#3184B3 #3143B3 #6031B3
triadic
#3143B3 #B33143 #43B331
tetradic
#3143B3 #B33184 #B3A131 #31B360
square
#3143B3 #B33184 #B3A131 #31B360
split-complementary
#3143B3 #B36031 #84B331
monochromatic
#171F53 #243183 #3143B3 #5263D0 #828EDD

Accessibility & contrast

On white

8.13
#3143B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3143B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3143B3
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3143B3#FFFFFF#000000##FFFFFF
##3143B31.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3143b3;
/* rgb */ color: rgb(49, 67, 179);
/* oklch */ color: oklch(44.2% 0.178 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b77cb',
    500: '#3143b3',
    950: '#000000',
  },
}
SCSS
$custom: #3143b3;
$custom-light: #7b77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3143b3",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 231.692,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44202,
    "c": 0.17758,
    "h": 270.3
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#3143B3
secondary
#C6BB7A
accent
#CB48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3143B3

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

Preview Lab → · Contrast checker → · Palette generator →

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