#3045A3#3045A3

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

Color values

HEX#3045A3
RGBrgb(48, 69, 163)
HSLhsl(229, 55%, 41%)
HSVhsv(229, 71%, 64%)
CMYKcmyk(70.6%, 57.7%, 0%, 36.1%)
CIE-LABlab(32.98, 24.57, -53.30)
CIE-LCHlch(32.98, 58.69, 294.75°)
OKLaboklab(43.16% -0.0017 -0.1535)
OKLCHoklch(43.16% 0.154 269.4)
XYZxyz(9.9556, 7.5280, 35.5716)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045A3 #A38E30
analogous
#307FA3 #3045A3 #5530A3
triadic
#3045A3 #A33045 #45A330
tetradic
#3045A3 #A3307F #A38E30 #30A355
square
#3045A3 #A3307F #A38E30 #30A355
split-complementary
#3045A3 #A35530 #7FA330
monochromatic
#141D44 #223174 #3045A3 #475FC9 #7788D7

Accessibility & contrast

On white

8.38
#3045A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3045A3
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3045A3#FFFFFF#000000##FFFFFF
##3045A31.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3045a3;
/* rgb */ color: rgb(48, 69, 163);
/* oklch */ color: oklch(43.2% 0.154 269.4);
Tailwind
colors: {
  custom: {
    50: '#7778bf',
    500: '#3045a3',
    950: '#000000',
  },
}
SCSS
$custom: #3045a3;
$custom-light: #7778bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3045a3",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 229.043,
    "s": 54.502,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4316,
    "c": 0.15355,
    "h": 269.4
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#3045A3
secondary
#BFB070
accent
#C34ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3045A3

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

Preview Lab → · Contrast checker → · Palette generator →

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