#3048AF#3048AF

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

Color values

HEX#3048AF
RGBrgb(48, 72, 175)
HSLhsl(229, 57%, 44%)
HSVhsv(229, 73%, 69%)
CMYKcmyk(72.6%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.72, 27.05, -57.65)
CIE-LCHlch(34.72, 63.68, 295.14°)
OKLaboklab(44.75% -0.0038 -0.1663)
OKLCHoklch(44.75% 0.166 268.7)
XYZxyz(11.2715, 8.3571, 41.5682)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048AF #AF9730
analogous
#3087AF #3048AF #5730AF
triadic
#3048AF #AF3048 #48AF30
tetradic
#3048AF #AF3087 #AF9730 #30AF57
square
#3048AF #AF3087 #AF9730 #30AF57
split-complementary
#3048AF #AF5730 #87AF30
monochromatic
#16204F #23347F #3048AF #4E66CE #7E90DC

Accessibility & contrast

On white

7.86
#3048AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3048AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048AF
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048AF#FFFFFF#000000##FFFFFF
##3048AF1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.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: #3048af;
/* rgb */ color: rgb(48, 72, 175);
/* oklch */ color: oklch(44.8% 0.166 268.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ac8',
    500: '#3048af',
    950: '#000000',
  },
}
SCSS
$custom: #3048af;
$custom-light: #7a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3048af",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 228.661,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.16632,
    "h": 268.7
  },
  "luminance": 0.08358
}

Semantic roles & 50–950 ramp

primary
#3048AF
secondary
#C4B676
accent
#C348E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3048AF

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

Preview Lab → · Contrast checker → · Palette generator →

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