#3045BC#3045BC

#3045BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.3% C 0.187 H 269.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3045BC
RGBrgb(48, 69, 188)
HSLhsl(231, 59%, 46%)
HSVhsv(231, 74%, 74%)
CMYKcmyk(74.5%, 63.3%, 0%, 26.3%)
CIE-LABlab(35.03, 33.77, -64.82)
CIE-LCHlch(35.03, 73.08, 297.52°)
OKLaboklab(45.32% -0.0018 -0.1873)
OKLCHoklch(45.32% 0.187 269.5)
XYZxyz(12.4210, 8.5141, 48.5560)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045BC #BCA730
analogous
#308BBC #3045BC #6130BC
triadic
#3045BC #BC3045 #45BC30
tetradic
#3045BC #BC308B #BCA730 #30BC61
square
#3045BC #BC308B #BCA730 #30BC61
split-complementary
#3045BC #BC6130 #8BBC30
monochromatic
#17215A #24338B #3045BC #5568D4 #8694E0

Accessibility & contrast

On white

7.77
#3045BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3045BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045BC
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045BC#FFFFFF#000000##FFFFFF
##3045BC1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004CBA
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3045bc;
/* rgb */ color: rgb(48, 69, 188);
/* oklch */ color: oklch(45.3% 0.187 269.5);
Tailwind
colors: {
  custom: {
    50: '#7d78d1',
    500: '#3045bc',
    950: '#000000',
  },
}
SCSS
$custom: #3045bc;
$custom-light: #7d78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3045bc",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 231,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.18736,
    "h": 269.5
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#3045BC
secondary
#CABE7E
accent
#CB45E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #3045BC

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

Preview Lab → · Contrast checker → · Palette generator →

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