#3143B2#3143B2

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

Color values

HEX#3143B2
RGBrgb(49, 67, 178)
HSLhsl(232, 57%, 45%)
HSVhsv(232, 72%, 70%)
CMYKcmyk(72.5%, 62.4%, 0%, 30.2%)
CIE-LABlab(33.73, 31.54, -61.03)
CIE-LCHlch(33.73, 68.70, 297.33°)
OKLaboklab(44.11% 0.0009 -0.1762)
OKLCHoklch(44.11% 0.176 270.3)
XYZxyz(11.3069, 7.8805, 43.0360)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3143B2 #B2A031
analogous
#3184B2 #3143B2 #6031B2
triadic
#3143B2 #B23143 #43B231
tetradic
#3143B2 #B23184 #B2A031 #31B260
square
#3143B2 #B23184 #B2A031 #31B260
split-complementary
#3143B2 #B26031 #84B231
monochromatic
#171F52 #243182 #3143B2 #5163CF #818EDC

Accessibility & contrast

On white

8.15
#3143B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3143B2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3143B2#FFFFFF#000000##FFFFFF
##3143B21.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3143b2;
/* rgb */ color: rgb(49, 67, 178);
/* oklch */ color: oklch(44.1% 0.176 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b77ca',
    500: '#3143b2',
    950: '#000000',
  },
}
SCSS
$custom: #3143b2;
$custom-light: #7b77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3143b2",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 231.628,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44114,
    "c": 0.17625,
    "h": 270.3
  },
  "luminance": 0.07882
}

Semantic roles & 50–950 ramp

primary
#3143B2
secondary
#C5BB79
accent
#CB48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3143B2

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

Preview Lab → · Contrast checker → · Palette generator →

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