#3045B4#3045B4

#3045B4 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.177 H 269.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3045B4
RGBrgb(48, 69, 180)
HSLhsl(230, 58%, 45%)
HSVhsv(230, 73%, 71%)
CMYKcmyk(73.3%, 61.7%, 0%, 29.4%)
CIE-LABlab(34.35, 30.85, -61.21)
CIE-LCHlch(34.35, 68.54, 296.75°)
OKLaboklab(44.61% -0.0016 -0.1768)
OKLCHoklch(44.61% 0.177 269.5)
XYZxyz(11.5824, 8.1787, 44.1394)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045B4 #B49F30
analogous
#3087B4 #3045B4 #5D30B4
triadic
#3045B4 #B43045 #45B430
tetradic
#3045B4 #B43087 #B49F30 #30B45D
square
#3045B4 #B43087 #B49F30 #30B45D
split-complementary
#3045B4 #B45D30 #87B430
monochromatic
#162053 #233284 #3045B4 #5165D1 #8190DD

Accessibility & contrast

On white

7.97
#3045B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3045B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045B4
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045B4#FFFFFF#000000##FFFFFF
##3045B41.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3045b4;
/* rgb */ color: rgb(48, 69, 180);
/* oklch */ color: oklch(44.6% 0.177 269.5);
Tailwind
colors: {
  custom: {
    50: '#7b78cb',
    500: '#3045b4',
    950: '#000000',
  },
}
SCSS
$custom: #3045b4;
$custom-light: #7b78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3045b4",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 230.455,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4461,
    "c": 0.17678,
    "h": 269.5
  },
  "luminance": 0.0818
}

Semantic roles & 50–950 ramp

primary
#3045B4
secondary
#C6BA79
accent
#C947E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3045B4

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

Preview Lab → · Contrast checker → · Palette generator →

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