#3045A1#3045A1

#3045A1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.151 H 269.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3045A1
RGBrgb(48, 69, 161)
HSLhsl(229, 54%, 41%)
HSVhsv(229, 70%, 63%)
CMYKcmyk(70.2%, 57.1%, 0%, 36.9%)
CIE-LABlab(32.83, 23.83, -52.34)
CIE-LCHlch(32.83, 57.51, 294.48°)
OKLaboklab(43% -0.0018 -0.1507)
OKLCHoklch(43% 0.151 269.3)
XYZxyz(9.7779, 7.4569, 34.6353)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045A1 #A18C30
analogous
#307DA1 #3045A1 #5430A1
triadic
#3045A1 #A13045 #45A130
tetradic
#3045A1 #A1307D #A18C30 #30A154
square
#3045A1 #A1307D #A18C30 #30A154
split-complementary
#3045A1 #A15430 #7DA130
monochromatic
#141D43 #223172 #3045A1 #465EC8 #7587D6

Accessibility & contrast

On white

8.43
#3045A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3045A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045A1
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045A1#FFFFFF#000000##FFFFFF
##3045A11.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#00489F
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3045a1;
/* rgb */ color: rgb(48, 69, 161);
/* oklch */ color: oklch(43.0% 0.151 269.3);
Tailwind
colors: {
  custom: {
    50: '#7778be',
    500: '#3045a1',
    950: '#000000',
  },
}
SCSS
$custom: #3045a1;
$custom-light: #7778be;
$custom-dark: #000000;
JSON
{
  "hex": "#3045a1",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 228.85,
    "s": 54.067,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42995,
    "c": 0.15075,
    "h": 269.3
  },
  "luminance": 0.07458
}

Semantic roles & 50–950 ramp

primary
#3045A1
secondary
#BEAF6F
accent
#C24ADD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3045A1

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

Preview Lab → · Contrast checker → · Palette generator →

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