#3142B3#3142B3

#3142B3 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.179 H 270.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3142B3
RGBrgb(49, 66, 179)
HSLhsl(232, 57%, 45%)
HSVhsv(232, 73%, 70%)
CMYKcmyk(72.6%, 63.1%, 0%, 29.8%)
CIE-LABlab(33.57, 32.55, -61.89)
CIE-LCHlch(33.57, 69.93, 297.74°)
OKLaboklab(44.02% 0.0015 -0.1788)
OKLCHoklch(44.02% 0.179 270.5)
XYZxyz(11.3487, 7.8029, 43.5471)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142B3 #B3A231
analogous
#3183B3 #3142B3 #6131B3
triadic
#3142B3 #B33142 #42B331
tetradic
#3142B3 #B33183 #B3A231 #31B361
square
#3142B3 #B33183 #B3A231 #31B361
split-complementary
#3142B3 #B36131 #83B331
monochromatic
#171F53 #243083 #3142B3 #5262D0 #828EDD

Accessibility & contrast

On white

8.20
#3142B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3142B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3142B3
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3142B3#FFFFFF#000000##FFFFFF
##3142B31.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3142b3;
/* rgb */ color: rgb(49, 66, 179);
/* oklch */ color: oklch(44.0% 0.179 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c76cb',
    500: '#3142b3',
    950: '#000000',
  },
}
SCSS
$custom: #3142b3;
$custom-light: #7c76cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3142b3",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 179
  },
  "hsl": {
    "h": 232.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44019,
    "c": 0.17879,
    "h": 270.5
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#3142B3
secondary
#C6BC7A
accent
#CC48E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3142B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3142B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva