#3045B3#3045B3

#3045B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.175 H 269.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3045B3
RGBrgb(48, 69, 179)
HSLhsl(230, 58%, 45%)
HSVhsv(230, 73%, 70%)
CMYKcmyk(73.2%, 61.5%, 0%, 29.8%)
CIE-LABlab(34.27, 30.49, -60.75)
CIE-LCHlch(34.27, 67.97, 296.65°)
OKLaboklab(44.52% -0.0016 -0.1754)
OKLCHoklch(44.52% 0.175 269.5)
XYZxyz(11.4809, 8.1381, 43.6048)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045B3 #B39E30
analogous
#3086B3 #3045B3 #5D30B3
triadic
#3045B3 #B33045 #45B330
tetradic
#3045B3 #B33086 #B39E30 #30B35D
square
#3045B3 #B33086 #B39E30 #30B35D
split-complementary
#3045B3 #B35D30 #86B330
monochromatic
#162052 #233283 #3045B3 #5065D0 #808FDD

Accessibility & contrast

On white

7.99
#3045B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3045B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045B3
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045B3#FFFFFF#000000##FFFFFF
##3045B31.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004BB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3045b3;
/* rgb */ color: rgb(48, 69, 179);
/* oklch */ color: oklch(44.5% 0.175 269.5);
Tailwind
colors: {
  custom: {
    50: '#7b78cb',
    500: '#3045b3',
    950: '#000000',
  },
}
SCSS
$custom: #3045b3;
$custom-light: #7b78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3045b3",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 230.382,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.44522,
    "c": 0.17544,
    "h": 269.5
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3045B3

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

Preview Lab → · Contrast checker → · Palette generator →

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