#3045AA#3045AA

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

Color values

HEX#3045AA
RGBrgb(48, 69, 170)
HSLhsl(230, 56%, 43%)
HSVhsv(230, 72%, 67%)
CMYKcmyk(71.8%, 59.4%, 0%, 33.3%)
CIE-LABlab(33.53, 27.17, -56.59)
CIE-LCHlch(33.53, 62.78, 295.65°)
OKLaboklab(43.75% -0.0015 -0.1632)
OKLCHoklch(43.75% 0.163 269.5)
XYZxyz(10.6003, 7.7858, 38.9666)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3045AA #AA9530
analogous
#3082AA #3045AA #5830AA
triadic
#3045AA #AA3045 #45AA30
tetradic
#3045AA #AA3082 #AA9530 #30AA58
square
#3045AA #AA3082 #AA9530 #30AA58
split-complementary
#3045AA #AA5830 #82AA30
monochromatic
#151E4B #23327A #3045AA #4B61CC #7B8BDA

Accessibility & contrast

On white

8.21
#3045AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3045AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3045AA#FFFFFF#000000##FFFFFF
##3045AA1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#0049A8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3045aa;
/* rgb */ color: rgb(48, 69, 170);
/* oklch */ color: oklch(43.7% 0.163 269.5);
Tailwind
colors: {
  custom: {
    50: '#7978c4',
    500: '#3045aa',
    950: '#000000',
  },
}
SCSS
$custom: #3045aa;
$custom-light: #7978c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3045aa",
  "rgb": {
    "r": 48,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 229.672,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.43746,
    "c": 0.16324,
    "h": 269.5
  },
  "luminance": 0.07787
}

Semantic roles & 50–950 ramp

primary
#3045AA
secondary
#C2B574
accent
#C549DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3045AA

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

Preview Lab → · Contrast checker → · Palette generator →

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