#3142B9#3142B9

#3142B9 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.6% C 0.187 H 270.4°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3142B9
RGBrgb(49, 66, 185)
HSLhsl(233, 58%, 46%)
HSVhsv(233, 74%, 73%)
CMYKcmyk(73.5%, 64.3%, 0%, 27.5%)
CIE-LABlab(34.09, 34.72, -64.59)
CIE-LCHlch(34.09, 73.33, 298.26°)
OKLaboklab(44.56% 0.0013 -0.1867)
OKLCHoklch(44.56% 0.187 270.4)
XYZxyz(11.9688, 8.0509, 46.8127)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142B9 #B9A831
analogous
#3186B9 #3142B9 #6431B9
triadic
#3142B9 #B93142 #42B931
tetradic
#3142B9 #B93186 #B9A831 #31B964
square
#3142B9 #B93186 #B9A831 #31B964
split-complementary
#3142B9 #B96431 #86B931
monochromatic
#171F58 #243189 #3142B9 #5565D2 #8691DF

Accessibility & contrast

On white

8.04
#3142B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3142B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3142B9
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3142B9#FFFFFF#000000##FFFFFF
##3142B91.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3142b9;
/* rgb */ color: rgb(49, 66, 185);
/* oklch */ color: oklch(44.6% 0.187 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d76cf',
    500: '#3142b9',
    950: '#000000',
  },
}
SCSS
$custom: #3142b9;
$custom-light: #7d76cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3142b9",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 185
  },
  "hsl": {
    "h": 232.5,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44562,
    "c": 0.18669,
    "h": 270.4
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#3142B9
secondary
#C8BF7D
accent
#CE46E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3142B9

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

Preview Lab → · Contrast checker → · Palette generator →

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