#3143A2#3143A2

#3143A2 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.154 H 270.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3143A2
RGBrgb(49, 67, 162)
HSLhsl(230, 54%, 41%)
HSVhsv(230, 70%, 64%)
CMYKcmyk(69.8%, 58.6%, 0%, 36.5%)
CIE-LABlab(32.42, 25.68, -53.60)
CIE-LCHlch(32.42, 59.43, 295.60°)
OKLaboklab(42.74% 0.001 -0.1544)
OKLCHoklch(42.74% 0.154 270.4)
XYZxyz(9.7931, 7.2750, 35.0635)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3143A2 #A29031
analogous
#317CA2 #3143A2 #5731A2
triadic
#3143A2 #A23143 #43A231
tetradic
#3143A2 #A2317C #A29031 #31A257
square
#3143A2 #A2317C #A29031 #31A257
split-complementary
#3143A2 #A25731 #7CA231
monochromatic
#151C44 #233073 #3143A2 #485DC8 #7786D6

Accessibility & contrast

On white

8.55
#3143A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3143A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3143A2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3143A2#FFFFFF#000000##FFFFFF
##3143A21.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3143a2;
/* rgb */ color: rgb(49, 67, 162);
/* oklch */ color: oklch(42.7% 0.154 270.4);
Tailwind
colors: {
  custom: {
    50: '#7876be',
    500: '#3143a2',
    950: '#000000',
  },
}
SCSS
$custom: #3143a2;
$custom-light: #7876be;
$custom-dark: #000000;
JSON
{
  "hex": "#3143a2",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 230.442,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42735,
    "c": 0.15442,
    "h": 270.4
  },
  "luminance": 0.07276
}

Semantic roles & 50–950 ramp

primary
#3143A2
secondary
#BEB271
accent
#C64BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3143A2

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

Preview Lab → · Contrast checker → · Palette generator →

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