#3045A4#3045A4

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

Color values

HEX#3045A4
RGBrgb(48, 69, 164)
HSLhsl(229, 55%, 42%)
HSVhsv(229, 71%, 64%)
CMYKcmyk(70.7%, 57.9%, 0%, 35.7%)
CIE-LABlab(33.06, 24.94, -53.77)
CIE-LCHlch(33.06, 59.28, 294.89°)
OKLaboklab(43.24% -0.0017 -0.1549)
OKLCHoklch(43.24% 0.155 269.4)
XYZxyz(10.0456, 7.5640, 36.0453)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045A4 #A48F30
analogous
#307FA4 #3045A4 #5530A4
triadic
#3045A4 #A43045 #45A430
tetradic
#3045A4 #A4307F #A48F30 #30A455
square
#3045A4 #A4307F #A48F30 #30A455
split-complementary
#3045A4 #A45530 #7FA430
monochromatic
#141D45 #223175 #3045A4 #485FC9 #7789D7

Accessibility & contrast

On white

8.36
#3045A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3045A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045A4
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045A4#FFFFFF#000000##FFFFFF
##3045A41.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3045a4;
/* rgb */ color: rgb(48, 69, 164);
/* oklch */ color: oklch(43.2% 0.155 269.4);
Tailwind
colors: {
  custom: {
    50: '#7878c0',
    500: '#3045a4',
    950: '#000000',
  },
}
SCSS
$custom: #3045a4;
$custom-light: #7878c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3045a4",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 229.138,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43243,
    "c": 0.15495,
    "h": 269.4
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#3045A4
secondary
#BFB170
accent
#C34ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3045A4

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

Preview Lab → · Contrast checker → · Palette generator →

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