#3143B7#3143B7

#3143B7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.183 H 270.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3143B7
RGBrgb(49, 67, 183)
HSLhsl(232, 58%, 45%)
HSVhsv(232, 73%, 72%)
CMYKcmyk(73.2%, 63.4%, 0%, 28.2%)
CIE-LABlab(34.16, 33.36, -63.29)
CIE-LCHlch(34.16, 71.55, 297.79°)
OKLaboklab(44.56% 0.0007 -0.1829)
OKLCHoklch(44.56% 0.183 270.2)
XYZxyz(11.8181, 8.0849, 45.7283)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3143B7 #B7A531
analogous
#3186B7 #3143B7 #6231B7
triadic
#3143B7 #B73143 #43B731
tetradic
#3143B7 #B73186 #B7A531 #31B762
square
#3143B7 #B73186 #B7A531 #31B762
split-complementary
#3143B7 #B76231 #86B731
monochromatic
#172056 #243187 #3143B7 #5465D1 #8490DE

Accessibility & contrast

On white

8.02
#3143B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3143B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3143B7
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3143B7#FFFFFF#000000##FFFFFF
##3143B71.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3143b7;
/* rgb */ color: rgb(49, 67, 183);
/* oklch */ color: oklch(44.6% 0.183 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c77ce',
    500: '#3143b7',
    950: '#000000',
  },
}
SCSS
$custom: #3143b7;
$custom-light: #7c77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3143b7",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 231.94,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4456,
    "c": 0.18289,
    "h": 270.2
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3143B7

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

Preview Lab → · Contrast checker → · Palette generator →

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