#305DA0#305DA0

#305DA0 is a mid, moderate blue. Relative luminance 0.110; OKLCH L 48.1% C 0.119 H 258.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#305DA0
RGBrgb(48, 93, 160)
HSLhsl(216, 54%, 41%)
HSVhsv(216, 70%, 63%)
CMYKcmyk(70%, 41.9%, 0%, 37.3%)
CIE-LABlab(39.57, 7.60, -40.89)
CIE-LCHlch(39.57, 41.59, 280.53°)
OKLaboklab(48.12% -0.0242 -0.1167)
OKLCHoklch(48.12% 0.119 258.3)
XYZxyz(11.4761, 10.9940, 34.7681)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305DA0 #A07330
analogous
#3095A0 #305DA0 #3B30A0
triadic
#305DA0 #A0305D #5DA030
tetradic
#305DA0 #A03095 #A07330 #30A03B
square
#305DA0 #A03095 #A07330 #30A03B
split-complementary
#305DA0 #A03B30 #95A030
monochromatic
#142642 #224271 #305DA0 #467AC7 #759CD6

Accessibility & contrast

On white

6.56
#305DA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#305DA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305DA0
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305DA0#FFFFFF#000000##FFFFFF
##305DA01.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A3
Deuteranopia (green-blind)
#2C589F
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305da0;
/* rgb */ color: rgb(48, 93, 160);
/* oklch */ color: oklch(48.1% 0.119 258.3);
Tailwind
colors: {
  custom: {
    50: '#768abc',
    500: '#305da0',
    950: '#000000',
  },
}
SCSS
$custom: #305da0;
$custom-light: #768abc;
$custom-dark: #000000;
JSON
{
  "hex": "#305da0",
  "rgb": {
    "r": 48,
    "g": 93,
    "b": 160
  },
  "hsl": {
    "h": 215.893,
    "s": 53.846,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48121,
    "c": 0.11916,
    "h": 258.3
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#305DA0
secondary
#BE9E6E
accent
#A24BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #305DA0

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

Preview Lab → · Contrast checker → · Palette generator →

#305DA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva