#3045AD#3045AD

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

Color values

HEX#3045AD
RGBrgb(48, 69, 173)
HSLhsl(230, 57%, 43%)
HSVhsv(230, 72%, 68%)
CMYKcmyk(72.3%, 60.1%, 0%, 32.2%)
CIE-LABlab(33.77, 28.28, -57.99)
CIE-LCHlch(33.77, 64.52, 296.00°)
OKLaboklab(44% -0.0015 -0.1673)
OKLCHoklch(44% 0.167 269.5)
XYZxyz(10.8873, 7.9006, 40.4783)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045AD #AD9830
analogous
#3083AD #3045AD #5930AD
triadic
#3045AD #AD3045 #45AD30
tetradic
#3045AD #AD3083 #AD9830 #30AD59
square
#3045AD #AD3083 #AD9830 #30AD59
split-complementary
#3045AD #AD5930 #83AD30
monochromatic
#151F4D #23327D #3045AD #4D62CE #7D8CDB

Accessibility & contrast

On white

8.14
#3045AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3045AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045AD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045AD#FFFFFF#000000##FFFFFF
##3045AD1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3045ad;
/* rgb */ color: rgb(48, 69, 173);
/* oklch */ color: oklch(44.0% 0.167 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a78c6',
    500: '#3045ad',
    950: '#000000',
  },
}
SCSS
$custom: #3045ad;
$custom-light: #7a78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3045ad",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 229.92,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44002,
    "c": 0.16734,
    "h": 269.5
  },
  "luminance": 0.07902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3045AD

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

Preview Lab → · Contrast checker → · Palette generator →

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