#3146B2#3146B2

#3146B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.7% C 0.173 H 269.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3146B2
RGBrgb(49, 70, 178)
HSLhsl(230, 57%, 45%)
HSVhsv(230, 72%, 70%)
CMYKcmyk(72.5%, 60.7%, 0%, 30.2%)
CIE-LABlab(34.49, 29.59, -59.79)
CIE-LCHlch(34.49, 66.71, 296.33°)
OKLaboklab(44.68% -0.0013 -0.1726)
OKLCHoklch(44.68% 0.173 269.6)
XYZxyz(11.4899, 8.2465, 43.0970)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3146B2 #B29D31
analogous
#3186B2 #3146B2 #5D31B2
triadic
#3146B2 #B23146 #46B231
tetradic
#3146B2 #B23186 #B29D31 #31B25D
square
#3146B2 #B23186 #B29D31 #31B25D
split-complementary
#3146B2 #B25D31 #86B231
monochromatic
#172052 #243382 #3146B2 #5166CF #8190DC

Accessibility & contrast

On white

7.93
#3146B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3146B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3146B2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3146B2#FFFFFF#000000##FFFFFF
##3146B21.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3146b2;
/* rgb */ color: rgb(49, 70, 178);
/* oklch */ color: oklch(44.7% 0.173 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b79ca',
    500: '#3146b2',
    950: '#000000',
  },
}
SCSS
$custom: #3146b2;
$custom-light: #7b79ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3146b2",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 230.233,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44675,
    "c": 0.17259,
    "h": 269.6
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#3146B2
secondary
#C5B979
accent
#C748E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3146B2

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

Preview Lab → · Contrast checker → · Palette generator →

#3146B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva