#3045B2#3045B2

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

Color values

HEX#3045B2
RGBrgb(48, 69, 178)
HSLhsl(230, 58%, 44%)
HSVhsv(230, 73%, 70%)
CMYKcmyk(73%, 61.2%, 0%, 30.2%)
CIE-LABlab(34.19, 30.12, -60.29)
CIE-LCHlch(34.19, 67.40, 296.55°)
OKLaboklab(44.44% -0.0015 -0.1741)
OKLCHoklch(44.44% 0.174 269.5)
XYZxyz(11.3802, 8.0978, 43.0741)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045B2 #B29D30
analogous
#3086B2 #3045B2 #5C30B2
triadic
#3045B2 #B23045 #45B230
tetradic
#3045B2 #B23086 #B29D30 #30B25C
square
#3045B2 #B23086 #B29D30 #30B25C
split-complementary
#3045B2 #B25C30 #86B230
monochromatic
#162052 #233282 #3045B2 #5064D0 #808FDD

Accessibility & contrast

On white

8.02
#3045B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3045B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045B2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045B2#FFFFFF#000000##FFFFFF
##3045B21.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3045b2;
/* rgb */ color: rgb(48, 69, 178);
/* oklch */ color: oklch(44.4% 0.174 269.5);
Tailwind
colors: {
  custom: {
    50: '#7b78ca',
    500: '#3045b2',
    950: '#000000',
  },
}
SCSS
$custom: #3045b2;
$custom-light: #7b78ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3045b2",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 230.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44435,
    "c": 0.1741,
    "h": 269.5
  },
  "luminance": 0.08099
}

Semantic roles & 50–950 ramp

primary
#3045B2
secondary
#C6B978
accent
#C847E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3045B2

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

Preview Lab → · Contrast checker → · Palette generator →

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