#3045AC#3045AC

#3045AC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.166 H 269.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3045AC
RGBrgb(48, 69, 172)
HSLhsl(230, 56%, 43%)
HSVhsv(230, 72%, 67%)
CMYKcmyk(72.1%, 59.9%, 0%, 32.5%)
CIE-LABlab(33.69, 27.91, -57.53)
CIE-LCHlch(33.69, 63.94, 295.88°)
OKLaboklab(43.92% -0.0015 -0.166)
OKLCHoklch(43.92% 0.166 269.5)
XYZxyz(10.7909, 7.8621, 39.9706)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045AC #AC9730
analogous
#3083AC #3045AC #5930AC
triadic
#3045AC #AC3045 #45AC30
tetradic
#3045AC #AC3083 #AC9730 #30AC59
square
#3045AC #AC3083 #AC9730 #30AC59
split-complementary
#3045AC #AC5930 #83AC30
monochromatic
#151F4C #23327C #3045AC #4C62CD #7C8CDA

Accessibility & contrast

On white

8.16
#3045AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3045AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045AC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045AC#FFFFFF#000000##FFFFFF
##3045AC1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AF
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3045ac;
/* rgb */ color: rgb(48, 69, 172);
/* oklch */ color: oklch(43.9% 0.166 269.5);
Tailwind
colors: {
  custom: {
    50: '#7978c6',
    500: '#3045ac',
    950: '#000000',
  },
}
SCSS
$custom: #3045ac;
$custom-light: #7978c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3045ac",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 229.839,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43916,
    "c": 0.16598,
    "h": 269.5
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#3045AC
secondary
#C3B675
accent
#C648E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3045AC

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

Preview Lab → · Contrast checker → · Palette generator →

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