#3045B1#3045B1

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

Color values

HEX#3045B1
RGBrgb(48, 69, 177)
HSLhsl(230, 57%, 44%)
HSVhsv(230, 73%, 69%)
CMYKcmyk(72.9%, 61%, 0%, 30.6%)
CIE-LABlab(34.10, 29.75, -59.83)
CIE-LCHlch(34.10, 66.82, 296.44°)
OKLaboklab(44.35% -0.0015 -0.1727)
OKLCHoklch(44.35% 0.173 269.5)
XYZxyz(11.2801, 8.0578, 42.5473)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045B1 #B19C30
analogous
#3085B1 #3045B1 #5C30B1
triadic
#3045B1 #B13045 #45B130
tetradic
#3045B1 #B13085 #B19C30 #30B15C
square
#3045B1 #B13085 #B19C30 #30B15C
split-complementary
#3045B1 #B15C30 #85B130
monochromatic
#161F51 #233281 #3045B1 #4F64CF #7F8EDC

Accessibility & contrast

On white

8.04
#3045B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3045B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045B1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045B1#FFFFFF#000000##FFFFFF
##3045B11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#004AAF
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3045b1;
/* rgb */ color: rgb(48, 69, 177);
/* oklch */ color: oklch(44.3% 0.173 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a78c9',
    500: '#3045b1',
    950: '#000000',
  },
}
SCSS
$custom: #3045b1;
$custom-light: #7a78c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3045b1",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 230.233,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44348,
    "c": 0.17275,
    "h": 269.5
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3045B1

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

Preview Lab → · Contrast checker → · Palette generator →

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