#3146A2#3146A2

#3146A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.151 H 269.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3146A2
RGBrgb(49, 70, 162)
HSLhsl(229, 54%, 41%)
HSVhsv(229, 70%, 64%)
CMYKcmyk(69.8%, 56.8%, 0%, 36.5%)
CIE-LABlab(33.22, 23.68, -52.30)
CIE-LCHlch(33.22, 57.41, 294.36°)
OKLaboklab(43.33% -0.0016 -0.1506)
OKLCHoklch(43.33% 0.151 269.4)
XYZxyz(9.9761, 7.6409, 35.1245)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3146A2 #A28D31
analogous
#317FA2 #3146A2 #5531A2
triadic
#3146A2 #A23146 #46A231
tetradic
#3146A2 #A2317F #A28D31 #31A255
square
#3146A2 #A2317F #A28D31 #31A255
split-complementary
#3146A2 #A25531 #7FA231
monochromatic
#151D44 #233273 #3146A2 #4860C8 #7789D6

Accessibility & contrast

On white

8.31
#3146A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3146A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3146A2
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3146A2#FFFFFF#000000##FFFFFF
##3146A21.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3146a2;
/* rgb */ color: rgb(49, 70, 162);
/* oklch */ color: oklch(43.3% 0.151 269.4);
Tailwind
colors: {
  custom: {
    50: '#7779be',
    500: '#3146a2',
    950: '#000000',
  },
}
SCSS
$custom: #3146a2;
$custom-light: #7779be;
$custom-dark: #000000;
JSON
{
  "hex": "#3146a2",
  "rgb": {
    "r": 49,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 228.85,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43333,
    "c": 0.15058,
    "h": 269.4
  },
  "luminance": 0.07642
}

Semantic roles & 50–950 ramp

primary
#3146A2
secondary
#BEB071
accent
#C24BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3146A2

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

Preview Lab → · Contrast checker → · Palette generator →

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