#3045B9#3045B9

#3045B9 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.1% C 0.183 H 269.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3045B9
RGBrgb(48, 69, 185)
HSLhsl(231, 59%, 46%)
HSVhsv(231, 74%, 73%)
CMYKcmyk(74.1%, 62.7%, 0%, 27.5%)
CIE-LABlab(34.77, 32.68, -63.47)
CIE-LCHlch(34.77, 71.39, 297.24°)
OKLaboklab(45.05% -0.0017 -0.1834)
OKLCHoklch(45.05% 0.183 269.5)
XYZxyz(12.1010, 8.3861, 46.8705)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045B9 #B9A430
analogous
#3089B9 #3045B9 #5F30B9
triadic
#3045B9 #B93045 #45B930
tetradic
#3045B9 #B93089 #B9A430 #30B95F
square
#3045B9 #B93089 #B9A430 #30B95F
split-complementary
#3045B9 #B95F30 #89B930
monochromatic
#172158 #233388 #3045B9 #5467D3 #8492DF

Accessibility & contrast

On white

7.84
#3045B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3045B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045B9
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045B9#FFFFFF#000000##FFFFFF
##3045B91.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3045b9;
/* rgb */ color: rgb(48, 69, 185);
/* oklch */ color: oklch(45.1% 0.183 269.5);
Tailwind
colors: {
  custom: {
    50: '#7c78cf',
    500: '#3045b9',
    950: '#000000',
  },
}
SCSS
$custom: #3045b9;
$custom-light: #7c78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3045b9",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 230.803,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45052,
    "c": 0.18342,
    "h": 269.5
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#3045B9
secondary
#C9BD7C
accent
#CA46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3045B9

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

Preview Lab → · Contrast checker → · Palette generator →

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