#3148AE#3148AE

#3148AE is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.165 H 269.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3148AE
RGBrgb(49, 72, 174)
HSLhsl(229, 56%, 44%)
HSVhsv(229, 72%, 68%)
CMYKcmyk(71.8%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.69, 26.81, -57.10)
CIE-LCHlch(34.69, 63.08, 295.15°)
OKLaboklab(44.72% -0.0028 -0.1646)
OKLCHoklch(44.72% 0.165 269)
XYZxyz(11.2213, 8.3425, 41.0551)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148AE #AE9731
analogous
#3186AE #3148AE #5831AE
triadic
#3148AE #AE3148 #48AE31
tetradic
#3148AE #AE3186 #AE9731 #31AE58
square
#3148AE #AE3186 #AE9731 #31AE58
split-complementary
#3148AE #AE5831 #86AE31
monochromatic
#16204E #24347E #3148AE #4F66CD #7F90DB

Accessibility & contrast

On white

7.87
#3148AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3148AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3148AE#FFFFFF#000000##FFFFFF
##3148AE1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3148ae;
/* rgb */ color: rgb(49, 72, 174);
/* oklch */ color: oklch(44.7% 0.165 269.0);
Tailwind
colors: {
  custom: {
    50: '#7a7ac7',
    500: '#3148ae',
    950: '#000000',
  },
}
SCSS
$custom: #3148ae;
$custom-light: #7a7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3148ae",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 228.96,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4472,
    "c": 0.16467,
    "h": 269
  },
  "luminance": 0.08344
}

Semantic roles & 50–950 ramp

primary
#3148AE
secondary
#C4B677
accent
#C448DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3148AE

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

Preview Lab → · Contrast checker → · Palette generator →

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