#3143AE#3143AE

#3143AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.171 H 270.3°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3143AE
RGBrgb(49, 67, 174)
HSLhsl(231, 56%, 44%)
HSVhsv(231, 72%, 68%)
CMYKcmyk(71.8%, 61.5%, 0%, 31.8%)
CIE-LABlab(33.40, 30.08, -59.20)
CIE-LCHlch(33.40, 66.40, 296.94°)
OKLaboklab(43.76% 0.001 -0.1709)
OKLCHoklch(43.76% 0.171 270.3)
XYZxyz(10.9112, 7.7222, 40.9517)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3143AE #AE9C31
analogous
#3181AE #3143AE #5D31AE
triadic
#3143AE #AE3143 #43AE31
tetradic
#3143AE #AE3181 #AE9C31 #31AE5D
square
#3143AE #AE3181 #AE9C31 #31AE5D
split-complementary
#3143AE #AE5D31 #81AE31
monochromatic
#161E4E #24317E #3143AE #4F61CD #7F8CDB

Accessibility & contrast

On white

8.25
#3143AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3143AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3143AE
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3143AE#FFFFFF#000000##FFFFFF
##3143AE1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3143ae;
/* rgb */ color: rgb(49, 67, 174);
/* oklch */ color: oklch(43.8% 0.171 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a77c7',
    500: '#3143ae',
    950: '#000000',
  },
}
SCSS
$custom: #3143ae;
$custom-light: #7a77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3143ae",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 231.36,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.17088,
    "h": 270.3
  },
  "luminance": 0.07723
}

Semantic roles & 50–950 ramp

primary
#3143AE
secondary
#C4B977
accent
#CA48DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3143AE

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

Preview Lab → · Contrast checker → · Palette generator →

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