#3045AF#3045AF

#3045AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.170 H 269.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3045AF
RGBrgb(48, 69, 175)
HSLhsl(230, 57%, 44%)
HSVhsv(230, 73%, 69%)
CMYKcmyk(72.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(33.94, 29.02, -58.91)
CIE-LCHlch(33.94, 65.67, 296.22°)
OKLaboklab(44.17% -0.0015 -0.17)
OKLCHoklch(44.17% 0.17 269.5)
XYZxyz(11.0823, 7.9786, 41.5051)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045AF #AF9A30
analogous
#3084AF #3045AF #5A30AF
triadic
#3045AF #AF3045 #45AF30
tetradic
#3045AF #AF3084 #AF9A30 #30AF5A
square
#3045AF #AF3084 #AF9A30 #30AF5A
split-complementary
#3045AF #AF5A30 #84AF30
monochromatic
#161F4F #23327F #3045AF #4E63CE #7E8DDC

Accessibility & contrast

On white

8.09
#3045AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3045AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045AF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045AF#FFFFFF#000000##FFFFFF
##3045AF1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006073
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3045af;
/* rgb */ color: rgb(48, 69, 175);
/* oklch */ color: oklch(44.2% 0.170 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a78c8',
    500: '#3045af',
    950: '#000000',
  },
}
SCSS
$custom: #3045af;
$custom-light: #7a78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3045af",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 230.079,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.44174,
    "c": 0.17005,
    "h": 269.5
  },
  "luminance": 0.0798
}

Semantic roles & 50–950 ramp

primary
#3045AF
secondary
#C4B776
accent
#C748E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3045AF

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

Preview Lab → · Contrast checker → · Palette generator →

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