#3148AA#3148AA

#3148AA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.159 H 268.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3148AA
RGBrgb(49, 72, 170)
HSLhsl(229, 55%, 43%)
HSVhsv(229, 71%, 67%)
CMYKcmyk(71.2%, 57.6%, 0%, 33.3%)
CIE-LABlab(34.37, 25.33, -55.22)
CIE-LCHlch(34.37, 60.76, 294.64°)
OKLaboklab(44.39% -0.0029 -0.1591)
OKLCHoklch(44.39% 0.159 268.9)
XYZxyz(10.8372, 8.1889, 39.0319)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148AA #AA9331
analogous
#3184AA #3148AA #5631AA
triadic
#3148AA #AA3148 #48AA31
tetradic
#3148AA #AA3184 #AA9331 #31AA56
square
#3148AA #AA3184 #AA9331 #31AA56
split-complementary
#3148AA #AA5631 #84AA31
monochromatic
#16204B #23347A #3148AA #4D65CC #7C8ED9

Accessibility & contrast

On white

7.96
#3148AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3148AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3148AA#FFFFFF#000000##FFFFFF
##3148AA1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3148aa;
/* rgb */ color: rgb(49, 72, 170);
/* oklch */ color: oklch(44.4% 0.159 268.9);
Tailwind
colors: {
  custom: {
    50: '#797ac4',
    500: '#3148aa',
    950: '#000000',
  },
}
SCSS
$custom: #3148aa;
$custom-light: #797ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3148aa",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 228.595,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44387,
    "c": 0.15917,
    "h": 268.9
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#3148AA
secondary
#C2B375
accent
#C249DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3148AA

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

Preview Lab → · Contrast checker → · Palette generator →

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