#3148A4#3148A4

#3148A4 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.151 H 268.8°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3148A4
RGBrgb(49, 72, 164)
HSLhsl(228, 54%, 42%)
HSVhsv(228, 70%, 64%)
CMYKcmyk(70.1%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.91, 23.10, -52.38)
CIE-LCHlch(33.91, 57.25, 293.80°)
OKLaboklab(43.9% -0.0032 -0.1508)
OKLCHoklch(43.9% 0.151 268.8)
XYZxyz(10.2825, 7.9670, 36.1107)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148A4 #A48D31
analogous
#3182A4 #3148A4 #5431A4
triadic
#3148A4 #A43148 #48A431
tetradic
#3148A4 #A43182 #A48D31 #31A454
square
#3148A4 #A43182 #A48D31 #31A454
split-complementary
#3148A4 #A45431 #82A431
monochromatic
#151F46 #233375 #3148A4 #4963C9 #798BD7

Accessibility & contrast

On white

8.10
#3148A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3148A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148A4
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148A4#FFFFFF#000000##FFFFFF
##3148A41.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3148a4;
/* rgb */ color: rgb(49, 72, 164);
/* oklch */ color: oklch(43.9% 0.151 268.8);
Tailwind
colors: {
  custom: {
    50: '#787ac0',
    500: '#3148a4',
    950: '#000000',
  },
}
SCSS
$custom: #3148a4;
$custom-light: #787ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3148a4",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 228,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43898,
    "c": 0.15081,
    "h": 268.8
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#3148A4
secondary
#BFB072
accent
#C04ADD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3148A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3148A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva