#3045A7#3045A7

#3045A7 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.159 H 269.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3045A7
RGBrgb(48, 69, 167)
HSLhsl(229, 55%, 42%)
HSVhsv(229, 71%, 65%)
CMYKcmyk(71.3%, 58.7%, 0%, 34.5%)
CIE-LABlab(33.29, 26.06, -55.19)
CIE-LCHlch(33.29, 61.03, 295.28°)
OKLaboklab(43.49% -0.0016 -0.1591)
OKLCHoklch(43.49% 0.159 269.4)
XYZxyz(10.3197, 7.6736, 37.4890)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045A7 #A79230
analogous
#3081A7 #3045A7 #5730A7
triadic
#3045A7 #A73045 #45A730
tetradic
#3045A7 #A73081 #A79230 #30A757
square
#3045A7 #A73081 #A79230 #30A757
split-complementary
#3045A7 #A75730 #81A730
monochromatic
#151E48 #223177 #3045A7 #4960CB #798AD8

Accessibility & contrast

On white

8.28
#3045A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3045A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045A7
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045A7#FFFFFF#000000##FFFFFF
##3045A71.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0049A5
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3045a7;
/* rgb */ color: rgb(48, 69, 167);
/* oklch */ color: oklch(43.5% 0.159 269.4);
Tailwind
colors: {
  custom: {
    50: '#7878c2',
    500: '#3045a7',
    950: '#000000',
  },
}
SCSS
$custom: #3045a7;
$custom-light: #7878c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3045a7",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 229.412,
    "s": 55.349,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43493,
    "c": 0.15911,
    "h": 269.4
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#3045A7
secondary
#C1B372
accent
#C449DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3045A7

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

Preview Lab → · Contrast checker → · Palette generator →

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