#3143B6#3143B6

#3143B6 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.182 H 270.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#3143B6
RGBrgb(49, 67, 182)
HSLhsl(232, 58%, 45%)
HSVhsv(232, 73%, 71%)
CMYKcmyk(73.1%, 63.2%, 0%, 28.6%)
CIE-LABlab(34.07, 32.99, -62.84)
CIE-LCHlch(34.07, 70.98, 297.70°)
OKLaboklab(44.47% 0.0007 -0.1816)
OKLCHoklch(44.47% 0.182 270.2)
XYZxyz(11.7144, 8.0435, 45.1821)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3143B6 #B6A431
analogous
#3185B6 #3143B6 #6231B6
triadic
#3143B6 #B63143 #43B631
tetradic
#3143B6 #B63185 #B6A431 #31B662
square
#3143B6 #B63185 #B6A431 #31B662
split-complementary
#3143B6 #B66231 #85B631
monochromatic
#171F56 #243186 #3143B6 #5364D1 #8490DE

Accessibility & contrast

On white

8.05
#3143B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3143B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3143B6
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3143B6#FFFFFF#000000##FFFFFF
##3143B61.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3143b6;
/* rgb */ color: rgb(49, 67, 182);
/* oklch */ color: oklch(44.5% 0.182 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c77cd',
    500: '#3143b6',
    950: '#000000',
  },
}
SCSS
$custom: #3143b6;
$custom-light: #7c77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3143b6",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 182
  },
  "hsl": {
    "h": 231.88,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4447,
    "c": 0.18157,
    "h": 270.2
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#3143B6
secondary
#C7BD7C
accent
#CC47E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3143B6

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

Preview Lab → · Contrast checker → · Palette generator →

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