#3148AB#3148AB

#3148AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.161 H 269.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3148AB
RGBrgb(49, 72, 171)
HSLhsl(229, 55%, 43%)
HSVhsv(229, 71%, 67%)
CMYKcmyk(71.3%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.45, 25.70, -55.69)
CIE-LCHlch(34.45, 61.34, 294.77°)
OKLaboklab(44.47% -0.0029 -0.1605)
OKLCHoklch(44.47% 0.161 269)
XYZxyz(10.9321, 8.2269, 39.5320)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148AB #AB9431
analogous
#3185AB #3148AB #5731AB
triadic
#3148AB #AB3148 #48AB31
tetradic
#3148AB #AB3185 #AB9431 #31AB57
square
#3148AB #AB3185 #AB9431 #31AB57
split-complementary
#3148AB #AB5731 #85AB31
monochromatic
#16204C #23347B #3148AB #4D65CC #7D8EDA

Accessibility & contrast

On white

7.94
#3148AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3148AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3148AB
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3148AB#FFFFFF#000000##FFFFFF
##3148AB1.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3148ab;
/* rgb */ color: rgb(49, 72, 171);
/* oklch */ color: oklch(44.5% 0.161 269.0);
Tailwind
colors: {
  custom: {
    50: '#797ac5',
    500: '#3148ab',
    950: '#000000',
  },
}
SCSS
$custom: #3148ab;
$custom-light: #797ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3148ab",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 228.689,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4447,
    "c": 0.16056,
    "h": 269
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#3148AB
secondary
#C2B475
accent
#C349DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3148AB

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

Preview Lab → · Contrast checker → · Palette generator →

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