#3045AB#3045AB

#3045AB is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.165 H 269.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#3045AB
RGBrgb(48, 69, 171)
HSLhsl(230, 56%, 43%)
HSVhsv(230, 72%, 67%)
CMYKcmyk(71.9%, 59.6%, 0%, 32.9%)
CIE-LABlab(33.61, 27.54, -57.06)
CIE-LCHlch(33.61, 63.36, 295.76°)
OKLaboklab(43.83% -0.0015 -0.1646)
OKLCHoklch(43.83% 0.165 269.5)
XYZxyz(10.6952, 7.8238, 39.4667)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045AB #AB9630
analogous
#3082AB #3045AB #5830AB
triadic
#3045AB #AB3045 #45AB30
tetradic
#3045AB #AB3082 #AB9630 #30AB58
square
#3045AB #AB3082 #AB9630 #30AB58
split-complementary
#3045AB #AB5830 #82AB30
monochromatic
#151E4B #23327B #3045AB #4C62CD #7B8CDA

Accessibility & contrast

On white

8.19
#3045AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3045AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3045AB
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045AB#FFFFFF#000000##FFFFFF
##3045AB1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3045ab;
/* rgb */ color: rgb(48, 69, 171);
/* oklch */ color: oklch(43.8% 0.165 269.5);
Tailwind
colors: {
  custom: {
    50: '#7978c5',
    500: '#3045ab',
    950: '#000000',
  },
}
SCSS
$custom: #3045ab;
$custom-light: #7978c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3045ab",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 229.756,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43831,
    "c": 0.16461,
    "h": 269.5
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#3045AB
secondary
#C3B574
accent
#C648DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3045AB

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

Preview Lab → · Contrast checker → · Palette generator →

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