#3045BD#3045BD

#3045BD is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.4% C 0.189 H 269.4°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3045BD
RGBrgb(48, 69, 189)
HSLhsl(231, 59%, 46%)
HSVhsv(231, 75%, 74%)
CMYKcmyk(74.6%, 63.5%, 0%, 25.9%)
CIE-LABlab(35.12, 34.13, -65.26)
CIE-LCHlch(35.12, 73.65, 297.61°)
OKLaboklab(45.41% -0.0018 -0.1887)
OKLCHoklch(45.41% 0.189 269.4)
XYZxyz(12.5292, 8.5574, 49.1257)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045BD #BDA830
analogous
#308CBD #3045BD #6230BD
triadic
#3045BD #BD3045 #45BD30
tetradic
#3045BD #BD308C #BDA830 #30BD62
square
#3045BD #BD308C #BDA830 #30BD62
split-complementary
#3045BD #BD6230 #8CBD30
monochromatic
#17215B #24338C #3045BD #5669D4 #8794E0

Accessibility & contrast

On white

7.74
#3045BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3045BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045BD
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045BD#FFFFFF#000000##FFFFFF
##3045BD1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#004CBB
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3045bd;
/* rgb */ color: rgb(48, 69, 189);
/* oklch */ color: oklch(45.4% 0.189 269.4);
Tailwind
colors: {
  custom: {
    50: '#7d78d2',
    500: '#3045bd',
    950: '#000000',
  },
}
SCSS
$custom: #3045bd;
$custom-light: #7d78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3045bd",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 231.064,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45411,
    "c": 0.18867,
    "h": 269.4
  },
  "luminance": 0.08559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3045BD

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

Preview Lab → · Contrast checker → · Palette generator →

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