#3045B5#3045B5

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

Color values

HEX#3045B5
RGBrgb(48, 69, 181)
HSLhsl(231, 58%, 45%)
HSVhsv(231, 73%, 71%)
CMYKcmyk(73.5%, 61.9%, 0%, 29%)
CIE-LABlab(34.44, 31.22, -61.66)
CIE-LCHlch(34.44, 69.11, 296.85°)
OKLaboklab(44.7% -0.0016 -0.1781)
OKLCHoklch(44.7% 0.178 269.5)
XYZxyz(11.6847, 8.2196, 44.6778)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045B5 #B5A030
analogous
#3088B5 #3045B5 #5D30B5
triadic
#3045B5 #B53045 #45B530
tetradic
#3045B5 #B53088 #B5A030 #30B55D
square
#3045B5 #B53088 #B5A030 #30B55D
split-complementary
#3045B5 #B55D30 #88B530
monochromatic
#162054 #233385 #3045B5 #5165D1 #8290DE

Accessibility & contrast

On white

7.94
#3045B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3045B5
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045B5#FFFFFF#000000##FFFFFF
##3045B51.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3045b5;
/* rgb */ color: rgb(48, 69, 181);
/* oklch */ color: oklch(44.7% 0.178 269.5);
Tailwind
colors: {
  custom: {
    50: '#7b78cc',
    500: '#3045b5',
    950: '#000000',
  },
}
SCSS
$custom: #3045b5;
$custom-light: #7b78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3045b5",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 230.526,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44698,
    "c": 0.17811,
    "h": 269.5
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#3045B5
secondary
#C7BB7A
accent
#C946E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3045B5

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

Preview Lab → · Contrast checker → · Palette generator →

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