#3046AB#3046AB

#3046AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.163 H 269.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3046AB
RGBrgb(48, 70, 171)
HSLhsl(229, 56%, 43%)
HSVhsv(229, 72%, 67%)
CMYKcmyk(71.9%, 59.1%, 0%, 32.9%)
CIE-LABlab(33.87, 26.88, -56.64)
CIE-LCHlch(33.87, 62.69, 295.39°)
OKLaboklab(44.03% -0.0023 -0.1633)
OKLCHoklch(44.03% 0.163 269.2)
XYZxyz(10.7572, 7.9479, 39.4874)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3046AB #AB9530
analogous
#3083AB #3046AB #5730AB
triadic
#3046AB #AB3046 #46AB30
tetradic
#3046AB #AB3083 #AB9530 #30AB57
square
#3046AB #AB3083 #AB9530 #30AB57
split-complementary
#3046AB #AB5730 #83AB30
monochromatic
#151F4B #23327B #3046AB #4C63CD #7B8CDA

Accessibility & contrast

On white

8.11
#3046AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3046AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3046AB
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3046AB#FFFFFF#000000##FFFFFF
##3046AB1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3046ab;
/* rgb */ color: rgb(48, 70, 171);
/* oklch */ color: oklch(44.0% 0.163 269.2);
Tailwind
colors: {
  custom: {
    50: '#7979c5',
    500: '#3046ab',
    950: '#000000',
  },
}
SCSS
$custom: #3046ab;
$custom-light: #7979c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3046ab",
  "rgb": {
    "r": 48,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 229.268,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44025,
    "c": 0.16336,
    "h": 269.2
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#3046AB
secondary
#C3B574
accent
#C448DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3046AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3046AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva