#3141A9#3141A9

#3141A9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.167 H 270.9°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3141A9
RGBrgb(49, 65, 169)
HSLhsl(232, 55%, 43%)
HSVhsv(232, 71%, 66%)
CMYKcmyk(71%, 61.5%, 0%, 33.7%)
CIE-LABlab(32.47, 29.56, -57.72)
CIE-LCHlch(32.47, 64.85, 297.12°)
OKLaboklab(42.95% 0.0026 -0.1666)
OKLCHoklch(42.95% 0.167 270.9)
XYZxyz(10.3159, 7.2971, 38.3932)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141A9 #A99931
analogous
#317DA9 #3141A9 #5D31A9
triadic
#3141A9 #A93141 #41A931
tetradic
#3141A9 #A9317D #A99931 #31A95D
square
#3141A9 #A9317D #A99931 #31A95D
split-complementary
#3141A9 #A95D31 #7DA931
monochromatic
#151D4A #232F7A #3141A9 #4C5DCB #7C88D9

Accessibility & contrast

On white

8.54
#3141A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3141A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3141A9
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3141A9#FFFFFF#000000##FFFFFF
##3141A91.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3141a9;
/* rgb */ color: rgb(49, 65, 169);
/* oklch */ color: oklch(42.9% 0.167 270.9);
Tailwind
colors: {
  custom: {
    50: '#7975c3',
    500: '#3141a9',
    950: '#000000',
  },
}
SCSS
$custom: #3141a9;
$custom-light: #7975c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3141a9",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 169
  },
  "hsl": {
    "h": 232,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42949,
    "c": 0.16658,
    "h": 270.9
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#3141A9
secondary
#C1B774
accent
#CB49DE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3141A9

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

Preview Lab → · Contrast checker → · Palette generator →

#3141A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva