#3148AF#3148AF

#3148AF is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.166 H 269.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#3148AF
RGBrgb(49, 72, 175)
HSLhsl(229, 56%, 44%)
HSVhsv(229, 72%, 69%)
CMYKcmyk(72%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.77, 27.18, -57.56)
CIE-LCHlch(34.77, 63.66, 295.28°)
OKLaboklab(44.8% -0.0028 -0.166)
OKLCHoklch(44.8% 0.166 269)
XYZxyz(11.3192, 8.3817, 41.5704)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3148AF #AF9831
analogous
#3187AF #3148AF #5931AF
triadic
#3148AF #AF3148 #48AF31
tetradic
#3148AF #AF3187 #AF9831 #31AF59
square
#3148AF #AF3187 #AF9831 #31AF59
split-complementary
#3148AF #AF5931 #87AF31
monochromatic
#16214F #24347F #3148AF #4F66CE #7F90DB

Accessibility & contrast

On white

7.85
#3148AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3148AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3148AF#FFFFFF#000000##FFFFFF
##3148AF1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004CAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3148af;
/* rgb */ color: rgb(49, 72, 175);
/* oklch */ color: oklch(44.8% 0.166 269.0);
Tailwind
colors: {
  custom: {
    50: '#7a7ac8',
    500: '#3148af',
    950: '#000000',
  },
}
SCSS
$custom: #3148af;
$custom-light: #7a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3148af",
  "rgb": {
    "r": 49,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 229.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44803,
    "c": 0.16604,
    "h": 269
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#3148AF
secondary
#C4B678
accent
#C448E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3148AF

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

Preview Lab → · Contrast checker → · Palette generator →

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