#3045A5#3045A5

#3045A5 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.156 H 269.4°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#3045A5
RGBrgb(48, 69, 165)
HSLhsl(229, 55%, 42%)
HSVhsv(229, 71%, 65%)
CMYKcmyk(70.9%, 58.2%, 0%, 35.3%)
CIE-LABlab(33.14, 25.32, -54.25)
CIE-LCHlch(33.14, 59.86, 295.02°)
OKLaboklab(43.33% -0.0016 -0.1563)
OKLCHoklch(43.33% 0.156 269.4)
XYZxyz(10.1362, 7.6002, 36.5228)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045A5 #A59030
analogous
#3080A5 #3045A5 #5630A5
triadic
#3045A5 #A53045 #45A530
tetradic
#3045A5 #A53080 #A59030 #30A556
square
#3045A5 #A53080 #A59030 #30A556
split-complementary
#3045A5 #A55630 #80A530
monochromatic
#141D46 #223176 #3045A5 #4860CA #7889D8

Accessibility & contrast

On white

8.33
#3045A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3045A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045A5
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045A5#FFFFFF#000000##FFFFFF
##3045A51.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#0049A3
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3045a5;
/* rgb */ color: rgb(48, 69, 165);
/* oklch */ color: oklch(43.3% 0.156 269.4);
Tailwind
colors: {
  custom: {
    50: '#7878c0',
    500: '#3045a5',
    950: '#000000',
  },
}
SCSS
$custom: #3045a5;
$custom-light: #7878c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3045a5",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 229.231,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43326,
    "c": 0.15634,
    "h": 269.4
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#3045A5
secondary
#C0B271
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3045A5

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

Preview Lab → · Contrast checker → · Palette generator →

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