#3143B0#3143B0

#3143B0 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.174 H 270.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3143B0
RGBrgb(49, 67, 176)
HSLhsl(231, 56%, 44%)
HSVhsv(231, 72%, 69%)
CMYKcmyk(72.2%, 61.9%, 0%, 31%)
CIE-LABlab(33.56, 30.81, -60.12)
CIE-LCHlch(33.56, 67.55, 297.14°)
OKLaboklab(43.94% 0.0009 -0.1736)
OKLCHoklch(43.94% 0.174 270.3)
XYZxyz(11.1076, 7.8007, 41.9862)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3143B0 #B09E31
analogous
#3183B0 #3143B0 #5F31B0
triadic
#3143B0 #B03143 #43B031
tetradic
#3143B0 #B03183 #B09E31 #31B05F
square
#3143B0 #B03183 #B09E31 #31B05F
split-complementary
#3143B0 #B05F31 #83B031
monochromatic
#161F50 #243180 #3143B0 #5062CE #808DDC

Accessibility & contrast

On white

8.20
#3143B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3143B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3143B0
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3143B0#FFFFFF#000000##FFFFFF
##3143B01.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3143b0;
/* rgb */ color: rgb(49, 67, 176);
/* oklch */ color: oklch(43.9% 0.174 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b77c8',
    500: '#3143b0',
    950: '#000000',
  },
}
SCSS
$custom: #3143b0;
$custom-light: #7b77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3143b0",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 176
  },
  "hsl": {
    "h": 231.496,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.17357,
    "h": 270.3
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#3143B0
secondary
#C5BA78
accent
#CA48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3143B0

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

Preview Lab → · Contrast checker → · Palette generator →

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