#3148AC#3148AC

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

Color values

HEX#3148AC
RGBrgb(49, 72, 172)
HSLhsl(229, 56%, 43%)
HSVhsv(229, 72%, 67%)
CMYKcmyk(71.5%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.53, 26.07, -56.16)
CIE-LCHlch(34.53, 61.92, 294.90°)
OKLaboklab(44.55% -0.0029 -0.1619)
OKLCHoklch(44.55% 0.162 269)
XYZxyz(11.0278, 8.2651, 40.0359)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148AC #AC9531
analogous
#3185AC #3148AC #5731AC
triadic
#3148AC #AC3148 #48AC31
tetradic
#3148AC #AC3185 #AC9531 #31AC57
square
#3148AC #AC3185 #AC9531 #31AC57
split-complementary
#3148AC #AC5731 #85AC31
monochromatic
#16204D #23347C #3148AC #4E65CC #7D8FDA

Accessibility & contrast

On white

7.91
#3148AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3148AC#FFFFFF#000000##FFFFFF
##3148AC1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3148ac;
/* rgb */ color: rgb(49, 72, 172);
/* oklch */ color: oklch(44.6% 0.162 269.0);
Tailwind
colors: {
  custom: {
    50: '#7a7ac5',
    500: '#3148ac',
    950: '#000000',
  },
}
SCSS
$custom: #3148ac;
$custom-light: #7a7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3148ac",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 228.78,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44553,
    "c": 0.16193,
    "h": 269
  },
  "luminance": 0.08266
}

Semantic roles & 50–950 ramp

primary
#3148AC
secondary
#C3B476
accent
#C349DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3148AC

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

Preview Lab → · Contrast checker → · Palette generator →

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