#3148A2#3148A2

#3148A2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.148 H 268.7°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#3148A2
RGBrgb(49, 72, 162)
HSLhsl(228, 54%, 41%)
HSVhsv(228, 70%, 64%)
CMYKcmyk(69.8%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.76, 22.35, -51.42)
CIE-LCHlch(33.76, 56.07, 293.49°)
OKLaboklab(43.74% -0.0033 -0.148)
OKLCHoklch(43.74% 0.148 268.7)
XYZxyz(10.1033, 7.8953, 35.1669)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148A2 #A28B31
analogous
#3181A2 #3148A2 #5331A2
triadic
#3148A2 #A23148 #48A231
tetradic
#3148A2 #A23181 #A28B31 #31A253
square
#3148A2 #A23181 #A28B31 #31A253
split-complementary
#3148A2 #A25331 #81A231
monochromatic
#151E44 #233373 #3148A2 #4862C8 #778BD6

Accessibility & contrast

On white

8.14
#3148A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3148A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148A2
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148A2#FFFFFF#000000##FFFFFF
##3148A21.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3148a2;
/* rgb */ color: rgb(49, 72, 162);
/* oklch */ color: oklch(43.7% 0.148 268.7);
Tailwind
colors: {
  custom: {
    50: '#777abe',
    500: '#3148a2',
    950: '#000000',
  },
}
SCSS
$custom: #3148a2;
$custom-light: #777abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3148a2",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 227.788,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.148,
    "h": 268.7
  },
  "luminance": 0.07896
}

Semantic roles & 50–950 ramp

primary
#3148A2
secondary
#BEAE71
accent
#BF4BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3148A2

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

Preview Lab → · Contrast checker → · Palette generator →

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